Struct sierra::DeviceAddress
source · #[repr(transparent)]pub struct DeviceAddress(pub NonZeroU64);
Expand description
Device address is u64
value pointing into device resource.
Tuple Fields§
§0: NonZeroU64
Implementations§
source§impl DeviceAddress
impl DeviceAddress
pub fn offset(&mut self, offset: u64) -> DeviceAddress
Trait Implementations§
source§impl Clone for DeviceAddress
impl Clone for DeviceAddress
source§fn clone(&self) -> DeviceAddress
fn clone(&self) -> DeviceAddress
Returns a copy 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 DeviceAddress
impl Debug for DeviceAddress
source§impl Hash for DeviceAddress
impl Hash for DeviceAddress
source§impl PartialEq<DeviceAddress> for DeviceAddress
impl PartialEq<DeviceAddress> for DeviceAddress
source§fn eq(&self, other: &DeviceAddress) -> bool
fn eq(&self, other: &DeviceAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.