Enum Moder
#[repr(u8)]pub enum Moder {
Input = 0,
Output = 1,
Alternate = 2,
Analog = 3,
}Variants§
Input = 0
Input mode (reset state)
Output = 1
General purpose output mode
Alternate = 2
Alternate function mode
Analog = 3
Analog mode
Implementations§
Trait Implementations§
impl Copy for Moder
impl Eq for Moder
§impl Ord for Moder
impl Ord for Moder
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Moder
impl PartialOrd for Moder
impl StructuralPartialEq for Moder
Auto Trait Implementations§
impl Freeze for Moder
impl RefUnwindSafe for Moder
impl Send for Moder
impl Sync for Moder
impl Unpin for Moder
impl UnsafeUnpin for Moder
impl UnwindSafe for Moder
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