pub enum SensorOwner {
I2C(u8),
System(u8),
}Variants§
Trait Implementations§
Source§impl Clone for SensorOwner
impl Clone for SensorOwner
Source§fn clone(&self) -> SensorOwner
fn clone(&self) -> SensorOwner
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 SensorOwner
impl Debug for SensorOwner
Source§impl From<SensorOwner> for u8
impl From<SensorOwner> for u8
Source§fn from(value: SensorOwner) -> u8
fn from(value: SensorOwner) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SensorOwner
impl From<u8> for SensorOwner
Source§impl PartialEq for SensorOwner
impl PartialEq for SensorOwner
impl Copy for SensorOwner
impl StructuralPartialEq for SensorOwner
Auto Trait Implementations§
impl Freeze for SensorOwner
impl RefUnwindSafe for SensorOwner
impl Send for SensorOwner
impl Sync for SensorOwner
impl Unpin for SensorOwner
impl UnwindSafe for SensorOwner
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