#[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 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 moreimpl Copy for SensorAction
Source§impl Debug for SensorAction
impl Debug for SensorAction
impl Eq 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 (const: unstable) · 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§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 ==.Source§impl PartialOrd for SensorAction
impl PartialOrd 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