Struct winsafe::co::VER_PLATFORM
source · 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 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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
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 IntUnderlying for VER_PLATFORM
impl IntUnderlying 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§fn eq(&self, other: &VER_PLATFORM) -> bool
fn eq(&self, other: &VER_PLATFORM) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VER_PLATFORM
impl PartialOrd for VER_PLATFORM
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 moresource§impl UpperHex for VER_PLATFORM
impl UpperHex for VER_PLATFORM
impl Copy for VER_PLATFORM
impl Eq for VER_PLATFORM
impl NativeConst for VER_PLATFORM
impl Send for VER_PLATFORM
impl StructuralPartialEq for VER_PLATFORM
Auto Trait Implementations§
impl Freeze for VER_PLATFORM
impl RefUnwindSafe 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