pub enum Value {
Inactive,
Active,
}
Expand description
The logical level of a line.
The mapping between logical and physical levels depends on the active-low setting as follows:
Physical Low | Physical High | |
---|---|---|
Active-High | Inactive | Active |
Active-Low | Active | Inactive |
Variants
Inactive
The line is inactive.
Active
The line is active.
Implementations
Trait Implementations
impl Copy for Value
impl Eq for Value
impl StructuralEq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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