#[repr(transparent)]pub struct Deviceaddrtype(pub u32);
Expand description
Device address type.
Tuple Fields§
§0: u32
Implementations§
Source§impl Deviceaddrtype
impl Deviceaddrtype
Sourcepub const fn deviceaddrtype(&self) -> Deviceaddrtype
pub const fn deviceaddrtype(&self) -> Deviceaddrtype
Device address type.
Sourcepub fn set_deviceaddrtype(&mut self, val: Deviceaddrtype)
pub fn set_deviceaddrtype(&mut self, val: Deviceaddrtype)
Device address type.
Trait Implementations§
Source§impl Clone for Deviceaddrtype
impl Clone for Deviceaddrtype
Source§fn clone(&self) -> Deviceaddrtype
fn clone(&self) -> Deviceaddrtype
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 Default for Deviceaddrtype
impl Default for Deviceaddrtype
Source§fn default() -> Deviceaddrtype
fn default() -> Deviceaddrtype
Returns the “default value” for a type. Read more
Source§impl PartialEq for Deviceaddrtype
impl PartialEq for Deviceaddrtype
impl Copy for Deviceaddrtype
impl Eq for Deviceaddrtype
impl StructuralPartialEq for Deviceaddrtype
Auto Trait Implementations§
impl Freeze for Deviceaddrtype
impl RefUnwindSafe for Deviceaddrtype
impl Send for Deviceaddrtype
impl Sync for Deviceaddrtype
impl Unpin for Deviceaddrtype
impl UnwindSafe for Deviceaddrtype
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)