Enum esp_hal::gpio::AlternateFunction
source · pub enum AlternateFunction {
Function0 = 0,
Function1 = 1,
Function2 = 2,
Function3 = 3,
Function4 = 4,
Function5 = 5,
}Variants§
Trait Implementations§
source§impl PartialEq for AlternateFunction
impl PartialEq for AlternateFunction
source§fn eq(&self, other: &AlternateFunction) -> bool
fn eq(&self, other: &AlternateFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AlternateFunction
Auto Trait Implementations§
impl Freeze for AlternateFunction
impl RefUnwindSafe for AlternateFunction
impl Send for AlternateFunction
impl Sync for AlternateFunction
impl Unpin for AlternateFunction
impl UnwindSafe for AlternateFunction
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