pub enum Bias {
Disabled,
PullUp,
PullDown,
}Expand description
Internal bias settings.
Variants§
Disabled
The internal bias is disabled.
PullUp
The internal pull-up bias is enabled.
PullDown
The internal pull-down bias is enabled.
Trait Implementations§
impl Copy for Bias
impl Eq for Bias
impl StructuralPartialEq for Bias
Auto Trait Implementations§
impl Freeze for Bias
impl RefUnwindSafe for Bias
impl Send for Bias
impl Sync for Bias
impl Unpin for Bias
impl UnwindSafe for Bias
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