Struct sdt::GenericAddressStructure
source · #[repr(C, packed(1))]pub struct GenericAddressStructure {
pub address_space: u8,
pub bit_width: u8,
pub bit_offset: u8,
pub access_size: u8,
pub phys_addr: u64,
}
Expand description
A struct used to describe the position and layout of registers related to ACPI tables.
Fields§
§address_space: u8
§bit_width: u8
§bit_offset: u8
§access_size: u8
§phys_addr: u64
Trait Implementations§
source§impl Clone for GenericAddressStructure
impl Clone for GenericAddressStructure
source§fn clone(&self) -> GenericAddressStructure
fn clone(&self) -> GenericAddressStructure
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 GenericAddressStructure
impl Debug for GenericAddressStructure
impl Copy for GenericAddressStructure
impl FromBytes for GenericAddressStructure
Auto Trait Implementations§
impl RefUnwindSafe for GenericAddressStructure
impl Send for GenericAddressStructure
impl Sync for GenericAddressStructure
impl Unpin 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