Enum tokio_gpiod::Active
source · #[repr(u8)]pub enum Active {
Low = 0,
High = 1,
}
Expand description
Active state condition of a line
If active state of line is high then physical and logical levels is same. Otherwise if it is low then physical level will be inverted from logical.
Also this may be treated as polarity.
Variants§
Trait Implementations§
source§impl PartialEq for Active
impl PartialEq for Active
impl Copy for Active
impl Eq for Active
impl StructuralPartialEq for Active
Auto Trait Implementations§
impl Freeze for Active
impl RefUnwindSafe for Active
impl Send for Active
impl Sync for Active
impl Unpin for Active
impl UnwindSafe for Active
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