#[repr(C)]pub enum SensorAction {
AccelerometerEnable = 0,
AccelerometerDisable = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SensorAction
impl Clone for SensorAction
Source§fn clone(&self) -> SensorAction
fn clone(&self) -> SensorAction
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 SensorAction
impl Debug for SensorAction
Source§impl Hash for SensorAction
impl Hash for SensorAction
Source§impl Ord for SensorAction
impl Ord for SensorAction
Source§fn cmp(&self, other: &SensorAction) -> Ordering
fn cmp(&self, other: &SensorAction) -> 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 SensorAction
impl PartialEq for SensorAction
Source§impl PartialOrd for SensorAction
impl PartialOrd for SensorAction
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 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