#[repr(i32)]pub enum SensorPort {
S1 = 0,
S2 = 1,
S3 = 2,
S4 = 3,
}Variants§
Trait Implementations§
Source§impl Clone for SensorPort
impl Clone for SensorPort
Source§fn clone(&self) -> SensorPort
fn clone(&self) -> SensorPort
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 PartialEq for SensorPort
impl PartialEq for SensorPort
impl Copy for SensorPort
impl StructuralPartialEq for SensorPort
Auto Trait Implementations§
impl Freeze for SensorPort
impl RefUnwindSafe for SensorPort
impl Send for SensorPort
impl Sync for SensorPort
impl Unpin for SensorPort
impl UnwindSafe for SensorPort
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