pub struct LOCKTYPE(/* private fields */);
Available on crate features
kernel
and ole
only.Expand description
LOCKTYPE
enumeration (u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl LOCKTYPE
impl LOCKTYPE
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 BitAndAssign for LOCKTYPE
impl BitAndAssign for LOCKTYPE
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for LOCKTYPE
impl BitOrAssign for LOCKTYPE
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for LOCKTYPE
impl BitXorAssign for LOCKTYPE
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for LOCKTYPE
impl IntUnderlying for LOCKTYPE
source§impl NativeBitflag for LOCKTYPE
impl NativeBitflag for LOCKTYPE
source§impl Ord for LOCKTYPE
impl Ord for LOCKTYPE
source§impl PartialEq for LOCKTYPE
impl PartialEq for LOCKTYPE
source§impl PartialOrd for LOCKTYPE
impl PartialOrd for LOCKTYPE
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 moreimpl Copy for LOCKTYPE
impl Eq for LOCKTYPE
impl NativeConst for LOCKTYPE
impl Send for LOCKTYPE
impl StructuralPartialEq for LOCKTYPE
Auto Trait Implementations§
impl Freeze for LOCKTYPE
impl RefUnwindSafe for LOCKTYPE
impl Sync for LOCKTYPE
impl Unpin for LOCKTYPE
impl UnwindSafe for LOCKTYPE
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