pub struct VER_MASK(/* private fields */);
Available on crate feature
kernel
only.Expand description
VerifyVersionInfo
and
VerSetConditionMask
type_mask
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl VER_MASK
impl VER_MASK
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 VER_MASK
impl VER_MASK
pub const MINORVERSION: Self = _
pub const MAJORVERSION: Self = _
pub const BUILDNUMBER: Self = _
pub const PLATFORMID: Self = _
pub const SERVICEPACKMINOR: Self = _
pub const SERVICEPACKMAJOR: Self = _
pub const SUITENAME: Self = _
pub const PRODUCT_TYPE: Self = _
Trait Implementations§
source§impl BitAndAssign for VER_MASK
impl BitAndAssign for VER_MASK
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for VER_MASK
impl BitOrAssign for VER_MASK
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for VER_MASK
impl BitXorAssign for VER_MASK
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for VER_MASK
impl IntUnderlying for VER_MASK
source§impl NativeBitflag for VER_MASK
impl NativeBitflag for VER_MASK
source§impl Ord for VER_MASK
impl Ord for VER_MASK
source§impl PartialEq for VER_MASK
impl PartialEq for VER_MASK
source§impl PartialOrd for VER_MASK
impl PartialOrd for VER_MASK
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 VER_MASK
impl Eq for VER_MASK
impl NativeConst for VER_MASK
impl Send for VER_MASK
impl StructuralPartialEq for VER_MASK
Auto Trait Implementations§
impl Freeze for VER_MASK
impl RefUnwindSafe for VER_MASK
impl Sync for VER_MASK
impl Unpin for VER_MASK
impl UnwindSafe for VER_MASK
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