pub enum Resistor {
Floating,
PullUp,
PullDown,
}
Expand description
Internal pull-up and pull-down resistor configuration
Variants§
Trait Implementations§
impl Copy for Resistor
impl Eq for Resistor
impl StructuralPartialEq for Resistor
Auto Trait Implementations§
impl Freeze for Resistor
impl RefUnwindSafe for Resistor
impl Send for Resistor
impl Sync for Resistor
impl Unpin for Resistor
impl UnwindSafe for Resistor
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