Struct winsafe::co::ENDSESSION
source · pub struct ENDSESSION(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
wm::EndSession
event (u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl ENDSESSION
impl ENDSESSION
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u32
pub const fn raw(&self) -> u32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
Trait Implementations§
source§impl AsRef<u32> for ENDSESSION
impl AsRef<u32> for ENDSESSION
source§impl Binary for ENDSESSION
impl Binary for ENDSESSION
source§impl BitAnd for ENDSESSION
impl BitAnd for ENDSESSION
source§impl BitAndAssign for ENDSESSION
impl BitAndAssign for ENDSESSION
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for ENDSESSION
impl BitOr for ENDSESSION
source§impl BitOrAssign for ENDSESSION
impl BitOrAssign for ENDSESSION
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for ENDSESSION
impl BitXor for ENDSESSION
source§impl BitXorAssign for ENDSESSION
impl BitXorAssign for ENDSESSION
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for ENDSESSION
impl Clone for ENDSESSION
source§fn clone(&self) -> ENDSESSION
fn clone(&self) -> ENDSESSION
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ENDSESSION
impl Debug for ENDSESSION
source§impl Default for ENDSESSION
impl Default for ENDSESSION
source§fn default() -> ENDSESSION
fn default() -> ENDSESSION
Returns the “default value” for a type. Read more
source§impl Display for ENDSESSION
impl Display for ENDSESSION
source§impl From<ENDSESSION> for u32
impl From<ENDSESSION> for u32
source§fn from(v: ENDSESSION) -> Self
fn from(v: ENDSESSION) -> Self
Converts to this type from the input type.
source§impl Hash for ENDSESSION
impl Hash for ENDSESSION
source§impl IntUnderlying for ENDSESSION
impl IntUnderlying for ENDSESSION
source§impl LowerHex for ENDSESSION
impl LowerHex for ENDSESSION
source§impl NativeBitflag for ENDSESSION
impl NativeBitflag for ENDSESSION
source§impl Not for ENDSESSION
impl Not for ENDSESSION
source§impl Octal for ENDSESSION
impl Octal for ENDSESSION
source§impl Ord for ENDSESSION
impl Ord for ENDSESSION
source§impl PartialEq for ENDSESSION
impl PartialEq for ENDSESSION
source§fn eq(&self, other: &ENDSESSION) -> bool
fn eq(&self, other: &ENDSESSION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ENDSESSION
impl PartialOrd for ENDSESSION
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl UpperHex for ENDSESSION
impl UpperHex for ENDSESSION
impl Copy for ENDSESSION
impl Eq for ENDSESSION
impl NativeConst for ENDSESSION
impl Send for ENDSESSION
impl StructuralPartialEq for ENDSESSION
Auto Trait Implementations§
impl Freeze for ENDSESSION
impl RefUnwindSafe for ENDSESSION
impl Sync for ENDSESSION
impl Unpin for ENDSESSION
impl UnwindSafe for ENDSESSION
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more