pub struct DeviceName(/* private fields */);
Expand description
Type-safe wrapper for device name (20 bytes, null-padded)
Implementations§
Trait Implementations§
Source§impl Clone for DeviceName
impl Clone for DeviceName
Source§fn clone(&self) -> DeviceName
fn clone(&self) -> DeviceName
Returns a duplicate 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 DeviceName
impl Debug for DeviceName
Source§impl PartialEq for DeviceName
impl PartialEq for DeviceName
impl Eq for DeviceName
impl StructuralPartialEq for DeviceName
Auto Trait Implementations§
impl Freeze for DeviceName
impl RefUnwindSafe for DeviceName
impl Send for DeviceName
impl Sync for DeviceName
impl Unpin for DeviceName
impl UnwindSafe for DeviceName
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