Struct NrstMode
#[repr(transparent)]pub struct NrstMode(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl NrstMode
impl NrstMode
pub const INPUT_ONLY: Self
pub const INPUT_ONLY: Self
Reset pin is in reset input mode only
pub const GPIO: Self
pub const GPIO: Self
Reset pin is in GPIO mode only
pub const INPUT_OUTPUT: Self
pub const INPUT_OUTPUT: Self
Reset pin is in resety input and output mode
Trait Implementations§
§impl Ord for NrstMode
impl Ord for NrstMode
§impl PartialOrd for NrstMode
impl PartialOrd for NrstMode
impl Copy for NrstMode
impl Eq for NrstMode
impl StructuralPartialEq for NrstMode
Auto Trait Implementations§
impl Freeze for NrstMode
impl RefUnwindSafe for NrstMode
impl Send for NrstMode
impl Sync for NrstMode
impl Unpin for NrstMode
impl UnwindSafe for NrstMode
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