Struct Devicetype
#[repr(transparent)]pub struct Devicetype(pub u32);Expand description
Device type.
Tuple Fields§
§0: u32Implementations§
§impl Devicetype
impl Devicetype
pub const fn devicetype(&self) -> Devicetype
pub const fn devicetype(&self) -> Devicetype
Device type.
pub const fn set_devicetype(&mut self, val: Devicetype)
pub const fn set_devicetype(&mut self, val: Devicetype)
Device type.
Trait Implementations§
§impl Clone for Devicetype
impl Clone for Devicetype
§fn clone(&self) -> Devicetype
fn clone(&self) -> Devicetype
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Devicetype
§impl Debug for Devicetype
impl Debug for Devicetype
§impl Default for Devicetype
impl Default for Devicetype
§fn default() -> Devicetype
fn default() -> Devicetype
Returns the “default value” for a type. Read more
impl Eq for Devicetype
§impl PartialEq for Devicetype
impl PartialEq for Devicetype
impl StructuralPartialEq for Devicetype
Auto Trait Implementations§
impl Freeze for Devicetype
impl RefUnwindSafe for Devicetype
impl Send for Devicetype
impl Sync for Devicetype
impl Unpin for Devicetype
impl UnsafeUnpin for Devicetype
impl UnwindSafe for Devicetype
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