pub enum SensorAction {
Enable(Sensor),
Disable(Sensor),
}Variants§
Trait Implementations§
Source§impl Clone for SensorAction
impl Clone for SensorAction
Source§fn clone(&self) -> SensorAction
fn clone(&self) -> SensorAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SensorAction
impl Debug for SensorAction
Source§impl Hash for SensorAction
impl Hash for SensorAction
Source§impl PartialEq for SensorAction
impl PartialEq for SensorAction
Source§fn eq(&self, other: &SensorAction) -> bool
fn eq(&self, other: &SensorAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SensorAction
impl Eq for SensorAction
impl StructuralPartialEq for SensorAction
Auto Trait Implementations§
impl Freeze for SensorAction
impl RefUnwindSafe for SensorAction
impl Send for SensorAction
impl Sync for SensorAction
impl Unpin for SensorAction
impl UnsafeUnpin for SensorAction
impl UnwindSafe for SensorAction
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