#[repr(C, packed(1))]pub struct GenericAddressStructure {
pub address_space_id: u8,
pub register_bit_width: u8,
pub register_bit_offset: u8,
pub access_size: u8,
pub address: U64,
}Expand description
ACPI type representing memory addresses
Fields§
§address_space_id: u8§register_bit_width: u8§register_bit_offset: u8§access_size: u8§address: U64Implementations§
Trait Implementations§
Source§impl Clone for GenericAddressStructure
impl Clone for GenericAddressStructure
Source§fn clone(&self) -> GenericAddressStructure
fn clone(&self) -> GenericAddressStructure
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 GenericAddressStructure
impl Debug for GenericAddressStructure
Source§impl Default for GenericAddressStructure
impl Default for GenericAddressStructure
Source§fn default() -> GenericAddressStructure
fn default() -> GenericAddressStructure
Returns the “default value” for a type. Read more
Source§impl IntoBytes for GenericAddressStructurewhere
u8: IntoBytes,
U64: IntoBytes,
impl IntoBytes for GenericAddressStructurewhere
u8: IntoBytes,
U64: IntoBytes,
impl Copy for GenericAddressStructure
impl Immutable for GenericAddressStructurewhere
u8: Immutable,
U64: Immutable,
Auto Trait Implementations§
impl Freeze for GenericAddressStructure
impl RefUnwindSafe for GenericAddressStructure
impl Send for GenericAddressStructure
impl Sync for GenericAddressStructure
impl Unpin for GenericAddressStructure
impl UnsafeUnpin for GenericAddressStructure
impl UnwindSafe for GenericAddressStructure
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