Enum atsamd_hal::gpio::dynpin::DynPinMode
source · [−]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
sourceimpl Clone for DynPinMode
impl Clone for DynPinMode
sourcefn clone(&self) -> DynPinMode
fn clone(&self) -> DynPinMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<DynPinMode> for DynPinMode
impl PartialEq<DynPinMode> for DynPinMode
sourcefn eq(&self, other: &DynPinMode) -> bool
fn eq(&self, other: &DynPinMode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DynPinMode) -> bool
fn ne(&self, other: &DynPinMode) -> bool
This method tests for !=
.
impl Copy for DynPinMode
impl Eq for DynPinMode
impl StructuralEq for DynPinMode
impl StructuralPartialEq for DynPinMode
Auto Trait Implementations
impl RefUnwindSafe for DynPinMode
impl Send for DynPinMode
impl Sync for DynPinMode
impl Unpin for DynPinMode
impl UnwindSafe for DynPinMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more