Struct winsafe::co::MFCLOCK_CHARACTERISTICS_FLAG
source · pub struct MFCLOCK_CHARACTERISTICS_FLAG(/* private fields */);
Available on crate features
kernel
and mf
only.Expand description
MFCLOCK_CHARACTERISTICS_FLAGS
enumeration (u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl MFCLOCK_CHARACTERISTICS_FLAG
impl MFCLOCK_CHARACTERISTICS_FLAG
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 MFCLOCK_CHARACTERISTICS_FLAG
impl MFCLOCK_CHARACTERISTICS_FLAG
pub const FREQUENCY_10MHZ: Self = _
pub const ALWAYS_RUNNING: Self = _
pub const IS_SYSTEM_CLOCK: Self = _
Trait Implementations§
source§impl AsRef<u32> for MFCLOCK_CHARACTERISTICS_FLAG
impl AsRef<u32> for MFCLOCK_CHARACTERISTICS_FLAG
source§impl BitAndAssign for MFCLOCK_CHARACTERISTICS_FLAG
impl BitAndAssign for MFCLOCK_CHARACTERISTICS_FLAG
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for MFCLOCK_CHARACTERISTICS_FLAG
impl BitOr for MFCLOCK_CHARACTERISTICS_FLAG
source§impl BitOrAssign for MFCLOCK_CHARACTERISTICS_FLAG
impl BitOrAssign for MFCLOCK_CHARACTERISTICS_FLAG
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for MFCLOCK_CHARACTERISTICS_FLAG
impl BitXorAssign for MFCLOCK_CHARACTERISTICS_FLAG
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for MFCLOCK_CHARACTERISTICS_FLAG
impl Clone for MFCLOCK_CHARACTERISTICS_FLAG
source§fn clone(&self) -> MFCLOCK_CHARACTERISTICS_FLAG
fn clone(&self) -> MFCLOCK_CHARACTERISTICS_FLAG
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_CHARACTERISTICS_FLAG
impl Debug for MFCLOCK_CHARACTERISTICS_FLAG
source§impl Default for MFCLOCK_CHARACTERISTICS_FLAG
impl Default for MFCLOCK_CHARACTERISTICS_FLAG
source§fn default() -> MFCLOCK_CHARACTERISTICS_FLAG
fn default() -> MFCLOCK_CHARACTERISTICS_FLAG
Returns the “default value” for a type. Read more
source§impl From<MFCLOCK_CHARACTERISTICS_FLAG> for u32
impl From<MFCLOCK_CHARACTERISTICS_FLAG> for u32
source§fn from(v: MFCLOCK_CHARACTERISTICS_FLAG) -> Self
fn from(v: MFCLOCK_CHARACTERISTICS_FLAG) -> Self
Converts to this type from the input type.
source§impl Hash for MFCLOCK_CHARACTERISTICS_FLAG
impl Hash for MFCLOCK_CHARACTERISTICS_FLAG
source§impl Not for MFCLOCK_CHARACTERISTICS_FLAG
impl Not for MFCLOCK_CHARACTERISTICS_FLAG
source§impl Octal for MFCLOCK_CHARACTERISTICS_FLAG
impl Octal for MFCLOCK_CHARACTERISTICS_FLAG
source§impl PartialEq for MFCLOCK_CHARACTERISTICS_FLAG
impl PartialEq for MFCLOCK_CHARACTERISTICS_FLAG
source§fn eq(&self, other: &MFCLOCK_CHARACTERISTICS_FLAG) -> bool
fn eq(&self, other: &MFCLOCK_CHARACTERISTICS_FLAG) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MFCLOCK_CHARACTERISTICS_FLAG
impl Eq for MFCLOCK_CHARACTERISTICS_FLAG
impl NativeConst for MFCLOCK_CHARACTERISTICS_FLAG
impl Send for MFCLOCK_CHARACTERISTICS_FLAG
impl StructuralPartialEq for MFCLOCK_CHARACTERISTICS_FLAG
Auto Trait Implementations§
impl RefUnwindSafe for MFCLOCK_CHARACTERISTICS_FLAG
impl Sync for MFCLOCK_CHARACTERISTICS_FLAG
impl Unpin for MFCLOCK_CHARACTERISTICS_FLAG
impl UnwindSafe for MFCLOCK_CHARACTERISTICS_FLAG
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