pub enum SensorInput {
AccelerometerX,
AccelerometerY,
AccelerometerZ,
GyroscopeX,
GyroscopeY,
GyroscopeZ,
Illuminance,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SensorInput
impl Clone for SensorInput
Source§fn clone(&self) -> SensorInput
fn clone(&self) -> SensorInput
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 SensorInput
impl Debug for SensorInput
Source§impl Hash for SensorInput
impl Hash for SensorInput
Source§impl PartialEq for SensorInput
impl PartialEq for SensorInput
Source§fn eq(&self, other: &SensorInput) -> bool
fn eq(&self, other: &SensorInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SensorInput
impl Eq for SensorInput
impl StructuralPartialEq for SensorInput
Auto Trait Implementations§
impl Freeze for SensorInput
impl RefUnwindSafe for SensorInput
impl Send for SensorInput
impl Sync for SensorInput
impl Unpin for SensorInput
impl UnsafeUnpin for SensorInput
impl UnwindSafe for SensorInput
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