Enum mma8x5x::InterruptPinPolarity
source · [−]pub enum InterruptPinPolarity {
ActiveLow,
ActiveHigh,
}
Expand description
Physical interrupt pin polarity
Variants
ActiveLow
Low state when active (default)
ActiveHigh
High state when active
Trait Implementations
sourceimpl Clone for InterruptPinPolarity
impl Clone for InterruptPinPolarity
sourcefn clone(&self) -> InterruptPinPolarity
fn clone(&self) -> InterruptPinPolarity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InterruptPinPolarity
impl Debug for InterruptPinPolarity
sourceimpl PartialEq<InterruptPinPolarity> for InterruptPinPolarity
impl PartialEq<InterruptPinPolarity> for InterruptPinPolarity
sourcefn eq(&self, other: &InterruptPinPolarity) -> bool
fn eq(&self, other: &InterruptPinPolarity) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for InterruptPinPolarity
impl Eq for InterruptPinPolarity
impl StructuralEq for InterruptPinPolarity
impl StructuralPartialEq for InterruptPinPolarity
Auto Trait Implementations
impl RefUnwindSafe for InterruptPinPolarity
impl Send for InterruptPinPolarity
impl Sync for InterruptPinPolarity
impl Unpin for InterruptPinPolarity
impl UnwindSafe for InterruptPinPolarity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more