pub enum DynPinMode {
Disabled(DynDisabled),
Input(DynInput),
Interrupt(DynInterrupt),
Output(DynOutput),
Alternate(DynAlternate),
}
Expand description
Value-level enum
representing pin modes
Variants§
Disabled(DynDisabled)
Input(DynInput)
Interrupt(DynInterrupt)
Output(DynOutput)
Alternate(DynAlternate)
Trait Implementations§
Source§impl Clone for DynPinMode
impl Clone for DynPinMode
Source§fn clone(&self) -> DynPinMode
fn clone(&self) -> DynPinMode
Returns a copy 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 PartialEq for DynPinMode
impl PartialEq for DynPinMode
impl Copy for DynPinMode
impl Eq for DynPinMode
impl StructuralPartialEq for DynPinMode
Auto Trait Implementations§
impl Freeze for DynPinMode
impl RefUnwindSafe for DynPinMode
impl Send for DynPinMode
impl Sync for DynPinMode
impl Unpin for DynPinMode
impl UnwindSafe for DynPinMode
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