pub struct STGM(/* private fields */);
Available on crate features
kernel
and ole
only.Expand description
STGM
enumeration (u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl STGM
impl STGM
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 STGM
impl STGM
pub const READ: Self = _
pub const WRITE: Self = _
pub const READWRITE: Self = _
pub const SHARE_DENY_NONE: Self = _
pub const SHARE_DENY_READ: Self = _
pub const SHARE_DENY_WRITE: Self = _
pub const SHARE_EXCLUSIVE: Self = _
pub const PRIORITY: Self = _
pub const CREATE: Self = _
pub const CONVERT: Self = _
pub const FAILIFTHERE: Self = _
pub const DIRECT: Self = _
pub const TRANSACTED: Self = _
pub const NOSCRATCH: Self = _
pub const NOSNAPSHOT: Self = _
pub const SIMPLE: Self = _
pub const DIRECT_SWMR: Self = _
pub const DELETEONRELEASE: Self = _
Trait Implementations§
source§impl BitAndAssign for STGM
impl BitAndAssign for STGM
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for STGM
impl BitOrAssign for STGM
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for STGM
impl BitXorAssign for STGM
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for STGM
impl IntUnderlying for STGM
source§impl NativeBitflag for STGM
impl NativeBitflag for STGM
source§impl Ord for STGM
impl Ord for STGM
source§impl PartialEq for STGM
impl PartialEq for STGM
source§impl PartialOrd for STGM
impl PartialOrd for STGM
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 STGM
impl Eq for STGM
impl NativeConst for STGM
impl Send for STGM
impl StructuralPartialEq for STGM
Auto Trait Implementations§
impl Freeze for STGM
impl RefUnwindSafe for STGM
impl Sync for STGM
impl Unpin for STGM
impl UnwindSafe for STGM
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