#[repr(u8)]pub enum DeviceAddr {
ADDR1 = 42,
ADDR2 = 41,
}Variants§
Trait Implementations§
Source§impl Clone for DeviceAddr
impl Clone for DeviceAddr
Source§fn clone(&self) -> DeviceAddr
fn clone(&self) -> DeviceAddr
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 DeviceAddr
impl Debug for DeviceAddr
Source§impl Default for DeviceAddr
impl Default for DeviceAddr
Source§fn default() -> DeviceAddr
fn default() -> DeviceAddr
Returns the “default value” for a type. Read more
impl Copy for DeviceAddr
Auto Trait Implementations§
impl Freeze for DeviceAddr
impl RefUnwindSafe for DeviceAddr
impl Send for DeviceAddr
impl Sync for DeviceAddr
impl Unpin for DeviceAddr
impl UnwindSafe for DeviceAddr
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