pub struct PioAddress(pub u16);
Expand description
Port IO (PIO) address.
Tuple Fields§
§0: u16
Implementations§
Trait Implementations§
Source§impl Clone for PioAddress
impl Clone for PioAddress
Source§fn clone(&self) -> PioAddress
fn clone(&self) -> PioAddress
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 PioAddress
impl Debug for PioAddress
Source§impl From<PioAddress> for IoAddress
impl From<PioAddress> for IoAddress
Source§fn from(addr: PioAddress) -> Self
fn from(addr: PioAddress) -> Self
Converts to this type from the input type.
Source§impl From<PioAddress> for u16
impl From<PioAddress> for u16
Source§fn from(addr: PioAddress) -> Self
fn from(addr: PioAddress) -> Self
Converts to this type from the input type.
Source§impl From<u16> for PioAddress
impl From<u16> for PioAddress
Source§impl Ord for PioAddress
impl Ord for PioAddress
Source§fn cmp(&self, other: &PioAddress) -> Ordering
fn cmp(&self, other: &PioAddress) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PioAddress
impl PartialEq for PioAddress
Source§impl PartialOrd for PioAddress
impl PartialOrd for PioAddress
Source§impl TryFrom<IoAddress> for PioAddress
impl TryFrom<IoAddress> for PioAddress
impl Copy for PioAddress
impl Eq for PioAddress
impl StructuralPartialEq for PioAddress
Auto Trait Implementations§
impl Freeze for PioAddress
impl RefUnwindSafe for PioAddress
impl Send for PioAddress
impl Sync for PioAddress
impl Unpin for PioAddress
impl UnwindSafe for PioAddress
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