pub enum ReferenceUpdate {
OnDetection,
EverySample,
}Expand description
Reference update policy for supported motion detectors.
Variants§
OnDetection
Update the internal reference only when an event is detected.
EverySample
Continuously update the internal reference.
Trait Implementations§
Source§impl Clone for ReferenceUpdate
impl Clone for ReferenceUpdate
Source§fn clone(&self) -> ReferenceUpdate
fn clone(&self) -> ReferenceUpdate
Returns a duplicate 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 ReferenceUpdate
impl Debug for ReferenceUpdate
Source§impl Format for ReferenceUpdate
impl Format for ReferenceUpdate
Source§impl PartialEq for ReferenceUpdate
impl PartialEq for ReferenceUpdate
impl Copy for ReferenceUpdate
impl Eq for ReferenceUpdate
impl StructuralPartialEq for ReferenceUpdate
Auto Trait Implementations§
impl Freeze for ReferenceUpdate
impl RefUnwindSafe for ReferenceUpdate
impl Send for ReferenceUpdate
impl Sync for ReferenceUpdate
impl Unpin for ReferenceUpdate
impl UnsafeUnpin for ReferenceUpdate
impl UnwindSafe for ReferenceUpdate
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