Enum async_std_gpiod::Active
source · [−]#[repr(u8)]
pub enum Active {
Low,
High,
}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
Low
Active level is low
High
Active level is high (default)
Trait Implementations
sourceimpl PartialEq<Active> for Active
impl PartialEq<Active> for Active
impl Copy for Active
impl Eq for Active
impl StructuralEq for Active
impl StructuralPartialEq for Active
Auto Trait Implementations
impl RefUnwindSafe for Active
impl Send for Active
impl Sync for Active
impl Unpin for Active
impl UnwindSafe for Active
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