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