#[repr(u8)]pub enum MotionDetectionDataRate {
Hz_0_781 = 0,
Hz_1_563 = 1,
Hz_3_125 = 2,
Hz_6_25 = 3,
Hz_12_5 = 4,
Hz_25 = 5,
Hz_50 = 6,
Hz_100 = 7,
}Expand description
The output data rate for the wake-up function.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MotionDetectionDataRate
impl Clone for MotionDetectionDataRate
Source§fn clone(&self) -> MotionDetectionDataRate
fn clone(&self) -> MotionDetectionDataRate
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 MotionDetectionDataRate
Source§impl Debug for MotionDetectionDataRate
impl Debug for MotionDetectionDataRate
impl Eq for MotionDetectionDataRate
Source§impl PartialEq for MotionDetectionDataRate
impl PartialEq for MotionDetectionDataRate
Source§fn eq(&self, other: &MotionDetectionDataRate) -> bool
fn eq(&self, other: &MotionDetectionDataRate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MotionDetectionDataRate
Source§impl TryFrom<u8> for MotionDetectionDataRate
impl TryFrom<u8> for MotionDetectionDataRate
Source§type Error = TryFromPrimitiveError<MotionDetectionDataRate>
type Error = TryFromPrimitiveError<MotionDetectionDataRate>
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for MotionDetectionDataRate
impl RefUnwindSafe for MotionDetectionDataRate
impl Send for MotionDetectionDataRate
impl Sync for MotionDetectionDataRate
impl Unpin for MotionDetectionDataRate
impl UnsafeUnpin for MotionDetectionDataRate
impl UnwindSafe for MotionDetectionDataRate
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