pub enum PinPull {
None,
Up,
Down,
}Expand description
Pin pull resistors
Variants§
Trait Implementations§
impl Copy for PinPull
Source§impl<'de> Deserialize<'de> for PinPull
impl<'de> Deserialize<'de> for PinPull
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PinPull
impl StructuralPartialEq for PinPull
Auto Trait Implementations§
impl Freeze for PinPull
impl RefUnwindSafe for PinPull
impl Send for PinPull
impl Sync for PinPull
impl Unpin for PinPull
impl UnsafeUnpin for PinPull
impl UnwindSafe for PinPull
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