Struct dbs_device::PioAddress
source · [−]pub struct PioAddress(pub u16);
Expand description
Port IO (PIO) address.
Tuple Fields
0: u16
Implementations
sourceimpl PioAddress
impl PioAddress
Trait Implementations
sourceimpl Clone for PioAddress
impl Clone for PioAddress
sourcefn clone(&self) -> PioAddress
fn clone(&self) -> PioAddress
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PioAddress
impl Debug for PioAddress
sourceimpl From<PioAddress> for IoAddress
impl From<PioAddress> for IoAddress
sourcefn from(addr: PioAddress) -> Self
fn from(addr: PioAddress) -> Self
Converts to this type from the input type.
sourceimpl From<PioAddress> for u16
impl From<PioAddress> for u16
sourcefn from(addr: PioAddress) -> Self
fn from(addr: PioAddress) -> Self
Converts to this type from the input type.
sourceimpl From<u16> for PioAddress
impl From<u16> for PioAddress
sourceimpl Ord for PioAddress
impl Ord for PioAddress
sourcefn cmp(&self, other: &PioAddress) -> Ordering
fn cmp(&self, other: &PioAddress) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<PioAddress> for PioAddress
impl PartialEq<PioAddress> for PioAddress
sourcefn eq(&self, other: &PioAddress) -> bool
fn eq(&self, other: &PioAddress) -> bool
sourceimpl PartialOrd<PioAddress> for PioAddress
impl PartialOrd<PioAddress> for PioAddress
sourcefn partial_cmp(&self, other: &PioAddress) -> Option<Ordering>
fn partial_cmp(&self, other: &PioAddress) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl TryFrom<IoAddress> for PioAddress
impl TryFrom<IoAddress> for PioAddress
impl Copy for PioAddress
impl Eq for PioAddress
impl StructuralEq for PioAddress
impl StructuralPartialEq for PioAddress
Auto Trait Implementations
impl RefUnwindSafe for PioAddress
impl Send for PioAddress
impl Sync for PioAddress
impl Unpin for PioAddress
impl UnwindSafe for PioAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more