#[repr(u8)]pub enum O1res {
NO_CHANGE = 0,
SET = 1,
CLEAR = 2,
TOGGLE_OUTPUT = 3,
}Variants§
NO_CHANGE = 0
No change
SET = 1
Set output (or clear, based on OUTPUTDIRCTRL[SETCLRn])
CLEAR = 2
Clear output (or set, based on OUTPUTDIRCTRL[SETCLRn])
TOGGLE_OUTPUT = 3
Toggle output
Implementations§
Trait Implementations§
Source§impl Ord for O1res
impl Ord for O1res
Source§impl PartialOrd for O1res
impl PartialOrd for O1res
impl Copy for O1res
impl Eq for O1res
impl StructuralPartialEq for O1res
Auto Trait Implementations§
impl Freeze for O1res
impl RefUnwindSafe for O1res
impl Send for O1res
impl Sync for O1res
impl Unpin for O1res
impl UnwindSafe for O1res
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