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 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 Debug for SensorOwner
impl Debug for SensorOwner
source§impl From<u8> for SensorOwner
impl From<u8> for SensorOwner
source§impl PartialEq for SensorOwner
impl PartialEq for SensorOwner
source§fn eq(&self, other: &SensorOwner) -> bool
fn eq(&self, other: &SensorOwner) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for SensorOwner
impl StructuralPartialEq for SensorOwner
Auto Trait Implementations§
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