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 Ord for Moder
impl Ord for Moder
§impl PartialOrd for Moder
impl PartialOrd for Moder
impl Copy for Moder
impl Eq 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)