#[repr(u8)]pub enum IoPortMode {
Input = 0,
Output = 1,
}Expand description
One of the two modes of the I/O ports.
Variants§
Trait Implementations§
Source§impl Clone for IoPortMode
impl Clone for IoPortMode
Source§fn clone(&self) -> IoPortMode
fn clone(&self) -> IoPortMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IoPortMode
impl Debug for IoPortMode
impl Copy for IoPortMode
Auto Trait Implementations§
impl Freeze for IoPortMode
impl RefUnwindSafe for IoPortMode
impl Send for IoPortMode
impl Sync for IoPortMode
impl Unpin for IoPortMode
impl UnwindSafe for IoPortMode
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