Enum veml7700::FaultCount
source · pub enum FaultCount {
One,
Two,
Four,
Eight,
}
Expand description
Fault count
Number of consecutive fault events necessary to trigger interrupt. This is referred to as “persistence” in the documentation.
Variants§
Trait Implementations§
source§impl Clone for FaultCount
impl Clone for FaultCount
source§fn clone(&self) -> FaultCount
fn clone(&self) -> FaultCount
Returns a copy 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 FaultCount
impl Debug for FaultCount
source§impl PartialEq for FaultCount
impl PartialEq for FaultCount
source§fn eq(&self, other: &FaultCount) -> bool
fn eq(&self, other: &FaultCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FaultCount
impl StructuralPartialEq for FaultCount
Auto Trait Implementations§
impl RefUnwindSafe for FaultCount
impl Send for FaultCount
impl Sync for FaultCount
impl Unpin for FaultCount
impl UnwindSafe for FaultCount
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