Enum vl53l1x_uld::Polarity
source · [−]pub enum Polarity {
ActiveHigh,
ActiveLow,
}
Expand description
Interrupt polarity.
Variants
ActiveHigh
Interrupt pin is logic level high if the interrupt is active.
ActiveLow
Interrupt pin is logic level low if the interrupt is active.
Trait Implementations
impl Copy for Polarity
impl Eq for Polarity
impl StructuralEq for Polarity
impl StructuralPartialEq for Polarity
Auto Trait Implementations
impl RefUnwindSafe for Polarity
impl Send for Polarity
impl Sync for Polarity
impl Unpin for Polarity
impl UnwindSafe for Polarity
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