pub struct VOS(/* private fields */);
Available on crate features
kernel
and version
only.Expand description
VS_FIXEDFILEINFO
dwFileOS
(u32
).
Implementations§
source§impl VOS
impl VOS
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 VOS
impl VOS
pub const UNKNOWN: Self = _
pub const DOS: Self = _
pub const OS216: Self = _
pub const OS232: Self = _
pub const NT: Self = _
pub const WINCE: Self = _
pub const _BASE: Self = _
pub const _WINDOWS16: Self = _
pub const _PM16: Self = _
pub const _PM32: Self = _
pub const _WINDOWS32: Self = _
pub const DOS_WINDOWS16: Self = _
pub const DOS_WINDOWS32: Self = _
pub const OS216_PM16: Self = _
pub const OS232_PM32: Self = _
pub const NT_WINDOWS32: Self = _
Trait Implementations§
source§impl IntUnderlying for VOS
impl IntUnderlying for VOS
source§impl Ord for VOS
impl Ord for VOS
source§impl PartialOrd for VOS
impl PartialOrd for VOS
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 VOS
impl Eq for VOS
impl NativeConst for VOS
impl Send for VOS
impl StructuralPartialEq for VOS
Auto Trait Implementations§
impl Freeze for VOS
impl RefUnwindSafe for VOS
impl Sync for VOS
impl Unpin for VOS
impl UnwindSafe for VOS
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