#[repr(u8)]pub enum Sensor16bits {
SENSOR_16BITS_0 = 0,
SENSOR_16BITS_1 = 1,
}Variants§
SENSOR_16BITS_0 = 0
Only one 8-bit sensor is connected.
SENSOR_16BITS_1 = 1
One 16-bit sensor is connected.
Implementations§
Source§impl Sensor16bits
impl Sensor16bits
Trait Implementations§
Source§impl Clone for Sensor16bits
impl Clone for Sensor16bits
Source§fn clone(&self) -> Sensor16bits
fn clone(&self) -> Sensor16bits
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 Sensor16bits
impl Debug for Sensor16bits
Source§impl From<Sensor16bits> for u8
impl From<Sensor16bits> for u8
Source§fn from(val: Sensor16bits) -> u8
fn from(val: Sensor16bits) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sensor16bits
impl From<u8> for Sensor16bits
Source§fn from(val: u8) -> Sensor16bits
fn from(val: u8) -> Sensor16bits
Converts to this type from the input type.
Source§impl Ord for Sensor16bits
impl Ord for Sensor16bits
Source§fn cmp(&self, other: &Sensor16bits) -> Ordering
fn cmp(&self, other: &Sensor16bits) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Sensor16bits
impl PartialEq for Sensor16bits
Source§impl PartialOrd for Sensor16bits
impl PartialOrd for Sensor16bits
impl Copy for Sensor16bits
impl Eq for Sensor16bits
impl StructuralPartialEq for Sensor16bits
Auto Trait Implementations§
impl Freeze for Sensor16bits
impl RefUnwindSafe for Sensor16bits
impl Send for Sensor16bits
impl Sync for Sensor16bits
impl Unpin for Sensor16bits
impl UnwindSafe for Sensor16bits
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