pub enum PullResistor {
None,
PullUp,
PullDown,
}Expand description
Defines the internal pull-up or pull-down resistor configuration.
Variants§
Trait Implementations§
Source§impl Clone for PullResistor
impl Clone for PullResistor
Source§fn clone(&self) -> PullResistor
fn clone(&self) -> PullResistor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PullResistor
impl Debug for PullResistor
Source§impl PartialEq for PullResistor
impl PartialEq for PullResistor
impl Copy for PullResistor
impl Eq for PullResistor
impl StructuralPartialEq for PullResistor
Auto Trait Implementations§
impl Freeze for PullResistor
impl RefUnwindSafe for PullResistor
impl Send for PullResistor
impl Sync for PullResistor
impl Unpin for PullResistor
impl UnwindSafe for PullResistor
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