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 as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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 Ord for VOS
impl Ord for VOS
Source§impl PartialOrd for VOS
impl PartialOrd for VOS
impl Copy for VOS
impl Eq for VOS
impl StructuralPartialEq for VOS
Auto Trait Implementations§
impl Freeze for VOS
impl RefUnwindSafe for VOS
impl Send 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