pub struct VT(/* private fields */);
Available on crate features
kernel
and oleaut
only.Expand description
VARENUM
enumeration (u16
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl VT
impl VT
sourcepub const unsafe fn from_raw(v: u16) -> Self
pub const unsafe fn from_raw(v: u16) -> 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) -> u16
pub const fn raw(&self) -> u16
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 VT
impl VT
sourcepub const USERDEFINED: Self = _
pub const USERDEFINED: Self = _
User defined type.
sourcepub const STREAMED_OBJECT: Self = _
pub const STREAMED_OBJECT: Self = _
Stream contains an object.
sourcepub const STORED_OBJECT: Self = _
pub const STORED_OBJECT: Self = _
Storage contains an object.
sourcepub const BLOB_OBJECT: Self = _
pub const BLOB_OBJECT: Self = _
Blob contains an object.
sourcepub const VERSIONED_STREAM: Self = _
pub const VERSIONED_STREAM: Self = _
Stream with a GUID version.
pub const RESERVED: Self = _
pub const ILLEGAL: Self = _
pub const ILLEGALMASKED: Self = _
pub const TYPEMASK: Self = _
Trait Implementations§
source§impl BitAndAssign for VT
impl BitAndAssign for VT
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for VT
impl BitOrAssign for VT
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for VT
impl BitXorAssign for VT
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for VT
impl IntUnderlying for VT
source§impl NativeBitflag for VT
impl NativeBitflag for VT
source§impl Ord for VT
impl Ord for VT
source§impl PartialOrd for VT
impl PartialOrd for VT
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 VT
impl Eq for VT
impl NativeConst for VT
impl Send for VT
impl StructuralPartialEq for VT
Auto Trait Implementations§
impl Freeze for VT
impl RefUnwindSafe for VT
impl Sync for VT
impl Unpin for VT
impl UnwindSafe for VT
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