Enum omnisensor::gpio::Polarity
source · [−]enum Polarity {
ActiveHigh,
ActiveLow,
}
Expand description
The polarity of a GPIO.
Variants
ActiveHigh
ActiveLow
Trait Implementations
impl Copy 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