#[repr(u8)]pub enum MotionDetectionLatchMode {
Latched = 0,
UnLatched = 1,
}Expand description
The latch mode of motion interrupt.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MotionDetectionLatchMode
impl Clone for MotionDetectionLatchMode
Source§fn clone(&self) -> MotionDetectionLatchMode
fn clone(&self) -> MotionDetectionLatchMode
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 MotionDetectionLatchMode
Source§impl Debug for MotionDetectionLatchMode
impl Debug for MotionDetectionLatchMode
impl Eq for MotionDetectionLatchMode
Source§impl PartialEq for MotionDetectionLatchMode
impl PartialEq for MotionDetectionLatchMode
Source§fn eq(&self, other: &MotionDetectionLatchMode) -> bool
fn eq(&self, other: &MotionDetectionLatchMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MotionDetectionLatchMode
Source§impl TryFrom<u8> for MotionDetectionLatchMode
impl TryFrom<u8> for MotionDetectionLatchMode
Source§type Error = TryFromPrimitiveError<MotionDetectionLatchMode>
type Error = TryFromPrimitiveError<MotionDetectionLatchMode>
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for MotionDetectionLatchMode
impl RefUnwindSafe for MotionDetectionLatchMode
impl Send for MotionDetectionLatchMode
impl Sync for MotionDetectionLatchMode
impl Unpin for MotionDetectionLatchMode
impl UnsafeUnpin for MotionDetectionLatchMode
impl UnwindSafe for MotionDetectionLatchMode
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