pub enum Bias {
PullUp,
PullDown,
Disabled,
}
Expand description
The bias settings for a line.
Variants
PullUp
The line has pull-up enabled.
PullDown
The line has pull-down enabled.
Disabled
The line has bias disabled and will float unless externally driven.
Trait Implementations
impl Copy for Bias
impl Eq for Bias
impl StructuralEq for Bias
impl StructuralPartialEq for Bias
Auto Trait Implementations
impl RefUnwindSafe for Bias
impl Send for Bias
impl Sync for Bias
impl Unpin for Bias
impl UnwindSafe for Bias
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