pub enum ComparatorPolarity {
ActiveLow,
ActiveHigh,
}Expand description
The ALERT/RDY pin polarity (Config bit 3).
Variants§
Trait Implementations§
Source§impl Clone for ComparatorPolarity
impl Clone for ComparatorPolarity
Source§fn clone(&self) -> ComparatorPolarity
fn clone(&self) -> ComparatorPolarity
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 ComparatorPolarity
Source§impl Debug for ComparatorPolarity
impl Debug for ComparatorPolarity
impl Eq for ComparatorPolarity
Source§impl PartialEq for ComparatorPolarity
impl PartialEq for ComparatorPolarity
Source§fn eq(&self, other: &ComparatorPolarity) -> bool
fn eq(&self, other: &ComparatorPolarity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComparatorPolarity
Auto Trait Implementations§
impl Freeze for ComparatorPolarity
impl RefUnwindSafe for ComparatorPolarity
impl Send for ComparatorPolarity
impl Sync for ComparatorPolarity
impl Unpin for ComparatorPolarity
impl UnsafeUnpin for ComparatorPolarity
impl UnwindSafe for ComparatorPolarity
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