Struct winsafe::co::CREATE_EVENT
source · pub struct CREATE_EVENT(/* private fields */);
Available on crate feature
kernel
only.Expand description
HEVENT::CreateEventEx
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl CREATE_EVENT
impl CREATE_EVENT
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.
source§impl CREATE_EVENT
impl CREATE_EVENT
pub const INITIAL_SET: Self = _
pub const MANUAL_RESET: Self = _
Trait Implementations§
source§impl AsRef<u32> for CREATE_EVENT
impl AsRef<u32> for CREATE_EVENT
source§impl Binary for CREATE_EVENT
impl Binary for CREATE_EVENT
source§impl BitAnd for CREATE_EVENT
impl BitAnd for CREATE_EVENT
source§impl BitAndAssign for CREATE_EVENT
impl BitAndAssign for CREATE_EVENT
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for CREATE_EVENT
impl BitOr for CREATE_EVENT
source§impl BitOrAssign for CREATE_EVENT
impl BitOrAssign for CREATE_EVENT
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for CREATE_EVENT
impl BitXor for CREATE_EVENT
source§impl BitXorAssign for CREATE_EVENT
impl BitXorAssign for CREATE_EVENT
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for CREATE_EVENT
impl Clone for CREATE_EVENT
source§fn clone(&self) -> CREATE_EVENT
fn clone(&self) -> CREATE_EVENT
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 CREATE_EVENT
impl Debug for CREATE_EVENT
source§impl Default for CREATE_EVENT
impl Default for CREATE_EVENT
source§fn default() -> CREATE_EVENT
fn default() -> CREATE_EVENT
Returns the “default value” for a type. Read more
source§impl Display for CREATE_EVENT
impl Display for CREATE_EVENT
source§impl From<CREATE_EVENT> for u32
impl From<CREATE_EVENT> for u32
source§fn from(v: CREATE_EVENT) -> Self
fn from(v: CREATE_EVENT) -> Self
Converts to this type from the input type.
source§impl Hash for CREATE_EVENT
impl Hash for CREATE_EVENT
source§impl IntUnderlying for CREATE_EVENT
impl IntUnderlying for CREATE_EVENT
source§impl LowerHex for CREATE_EVENT
impl LowerHex for CREATE_EVENT
source§impl NativeBitflag for CREATE_EVENT
impl NativeBitflag for CREATE_EVENT
source§impl Not for CREATE_EVENT
impl Not for CREATE_EVENT
source§impl Octal for CREATE_EVENT
impl Octal for CREATE_EVENT
source§impl Ord for CREATE_EVENT
impl Ord for CREATE_EVENT
source§impl PartialEq for CREATE_EVENT
impl PartialEq for CREATE_EVENT
source§fn eq(&self, other: &CREATE_EVENT) -> bool
fn eq(&self, other: &CREATE_EVENT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CREATE_EVENT
impl PartialOrd for CREATE_EVENT
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 CREATE_EVENT
impl UpperHex for CREATE_EVENT
impl Copy for CREATE_EVENT
impl Eq for CREATE_EVENT
impl NativeConst for CREATE_EVENT
impl Send for CREATE_EVENT
impl StructuralPartialEq for CREATE_EVENT
Auto Trait Implementations§
impl Freeze for CREATE_EVENT
impl RefUnwindSafe for CREATE_EVENT
impl Sync for CREATE_EVENT
impl Unpin for CREATE_EVENT
impl UnwindSafe for CREATE_EVENT
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