pub struct VER_PLATFORM(/* private fields */);
Available on crate feature
kernel
only.Expand description
OSVERSIONINFOEX
dwPlatformId
(u32
).
Implementations§
Source§impl VER_PLATFORM
impl VER_PLATFORM
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 VER_PLATFORM
impl VER_PLATFORM
Trait Implementations§
Source§impl AsRef<u32> for VER_PLATFORM
impl AsRef<u32> for VER_PLATFORM
Source§impl Binary for VER_PLATFORM
impl Binary for VER_PLATFORM
Source§impl Clone for VER_PLATFORM
impl Clone for VER_PLATFORM
Source§fn clone(&self) -> VER_PLATFORM
fn clone(&self) -> VER_PLATFORM
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VER_PLATFORM
impl Debug for VER_PLATFORM
Source§impl Default for VER_PLATFORM
impl Default for VER_PLATFORM
Source§fn default() -> VER_PLATFORM
fn default() -> VER_PLATFORM
Returns the “default value” for a type. Read more
Source§impl Display for VER_PLATFORM
impl Display for VER_PLATFORM
Source§impl From<VER_PLATFORM> for u32
impl From<VER_PLATFORM> for u32
Source§fn from(v: VER_PLATFORM) -> Self
fn from(v: VER_PLATFORM) -> Self
Converts to this type from the input type.
Source§impl Hash for VER_PLATFORM
impl Hash for VER_PLATFORM
Source§impl LowerHex for VER_PLATFORM
impl LowerHex for VER_PLATFORM
Source§impl Octal for VER_PLATFORM
impl Octal for VER_PLATFORM
Source§impl Ord for VER_PLATFORM
impl Ord for VER_PLATFORM
Source§impl PartialEq for VER_PLATFORM
impl PartialEq for VER_PLATFORM
Source§impl PartialOrd for VER_PLATFORM
impl PartialOrd for VER_PLATFORM
Source§impl UpperHex for VER_PLATFORM
impl UpperHex for VER_PLATFORM
impl Copy for VER_PLATFORM
impl Eq for VER_PLATFORM
impl StructuralPartialEq for VER_PLATFORM
Auto Trait Implementations§
impl Freeze for VER_PLATFORM
impl RefUnwindSafe for VER_PLATFORM
impl Send for VER_PLATFORM
impl Sync for VER_PLATFORM
impl Unpin for VER_PLATFORM
impl UnwindSafe for VER_PLATFORM
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