Struct dbs_device::IoAddress
source · [−]pub struct IoAddress(pub u64);
Expand description
Memory Mapped IO (MMIO) address.
Tuple Fields
0: u64
Implementations
Trait Implementations
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 Ord for IoAddress
impl Ord for IoAddress
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 PartialOrd<IoAddress> for IoAddress
impl PartialOrd<IoAddress> for IoAddress
sourcefn partial_cmp(&self, other: &IoAddress) -> Option<Ordering>
fn partial_cmp(&self, other: &IoAddress) -> 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 IoAddress
impl Eq for IoAddress
impl StructuralEq for IoAddress
impl StructuralPartialEq for IoAddress
Auto Trait Implementations
impl RefUnwindSafe for IoAddress
impl Send for IoAddress
impl Sync for IoAddress
impl Unpin for IoAddress
impl UnwindSafe for IoAddress
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