pub enum DeviceAddr {
Default,
Custom(u8),
}Expand description
The I2C address of the FS3000.
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
Source§impl From<DeviceAddr> for u8
impl From<DeviceAddr> for u8
Source§fn from(addr: DeviceAddr) -> u8
fn from(addr: DeviceAddr) -> u8
Converts to this type from the input type.
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