#[repr(C, packed(1))]pub struct GenericAddress {
pub addr_space_id: AddressSpaceId,
pub register_bit_width: u8,
pub register_bit_offset: u8,
pub access_size: AddressWidth,
pub address: u64,
}
Fields§
§addr_space_id: AddressSpaceId
§register_bit_width: u8
§register_bit_offset: u8
§access_size: AddressWidth
§address: u64
Trait Implementations§
Source§impl Clone for GenericAddress
impl Clone for GenericAddress
Source§fn clone(&self) -> GenericAddress
fn clone(&self) -> GenericAddress
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 GenericAddress
impl Debug for GenericAddress
Source§impl Default for GenericAddress
impl Default for GenericAddress
Source§fn default() -> GenericAddress
fn default() -> GenericAddress
Returns the “default value” for a type. Read more
Source§impl IntoBytes for GenericAddress
impl IntoBytes for GenericAddress
Source§impl KnownLayout for GenericAddresswhere
u64: KnownLayout,
impl KnownLayout for GenericAddresswhere
u64: KnownLayout,
Source§type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
type PointerMetadata = <u64 as KnownLayout>::PointerMetadata
The type of metadata stored in a pointer to
Self
. Read moreimpl Copy for GenericAddress
impl Immutable for GenericAddress
Auto Trait Implementations§
impl Freeze for GenericAddress
impl RefUnwindSafe for GenericAddress
impl Send for GenericAddress
impl Sync for GenericAddress
impl Unpin for GenericAddress
impl UnwindSafe for GenericAddress
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