Struct winsafe::co::MFCLOCK_STATE
source · pub struct MFCLOCK_STATE(/* private fields */);
Available on crate features
kernel
and mf
only.Expand description
MFCLOCK_STATE
enumeration (u32
).
Implementations§
source§impl MFCLOCK_STATE
impl MFCLOCK_STATE
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.
Trait Implementations§
source§impl AsRef<u32> for MFCLOCK_STATE
impl AsRef<u32> for MFCLOCK_STATE
source§impl Binary for MFCLOCK_STATE
impl Binary for MFCLOCK_STATE
source§impl Clone for MFCLOCK_STATE
impl Clone for MFCLOCK_STATE
source§fn clone(&self) -> MFCLOCK_STATE
fn clone(&self) -> MFCLOCK_STATE
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 MFCLOCK_STATE
impl Debug for MFCLOCK_STATE
source§impl Default for MFCLOCK_STATE
impl Default for MFCLOCK_STATE
source§fn default() -> MFCLOCK_STATE
fn default() -> MFCLOCK_STATE
Returns the “default value” for a type. Read more
source§impl Display for MFCLOCK_STATE
impl Display for MFCLOCK_STATE
source§impl From<MFCLOCK_STATE> for u32
impl From<MFCLOCK_STATE> for u32
source§fn from(v: MFCLOCK_STATE) -> Self
fn from(v: MFCLOCK_STATE) -> Self
Converts to this type from the input type.
source§impl Hash for MFCLOCK_STATE
impl Hash for MFCLOCK_STATE
source§impl IntUnderlying for MFCLOCK_STATE
impl IntUnderlying for MFCLOCK_STATE
source§impl LowerHex for MFCLOCK_STATE
impl LowerHex for MFCLOCK_STATE
source§impl Octal for MFCLOCK_STATE
impl Octal for MFCLOCK_STATE
source§impl PartialEq for MFCLOCK_STATE
impl PartialEq for MFCLOCK_STATE
source§fn eq(&self, other: &MFCLOCK_STATE) -> bool
fn eq(&self, other: &MFCLOCK_STATE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UpperHex for MFCLOCK_STATE
impl UpperHex for MFCLOCK_STATE
impl Copy for MFCLOCK_STATE
impl Eq for MFCLOCK_STATE
impl NativeConst for MFCLOCK_STATE
impl Send for MFCLOCK_STATE
impl StructuralPartialEq for MFCLOCK_STATE
Auto Trait Implementations§
impl RefUnwindSafe for MFCLOCK_STATE
impl Sync for MFCLOCK_STATE
impl Unpin for MFCLOCK_STATE
impl UnwindSafe for MFCLOCK_STATE
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