#[repr(C, align(4))]pub struct AcpiTableRsdp {
pub signature: [u8; 8],
pub checksum: u8,
pub oem_id: [u8; 6],
pub revision: u8,
pub rsdt_physical_address: u32,
pub length: u32,
pub xsdt_physical_address: [u32; 2],
pub extended_checksum: u8,
pub reserved: [u8; 3],
}Fields§
§signature: [u8; 8]§checksum: u8§oem_id: [u8; 6]§revision: u8§rsdt_physical_address: u32§length: u32§xsdt_physical_address: [u32; 2]§extended_checksum: u8§reserved: [u8; 3]Trait Implementations§
Source§impl Clone for AcpiTableRsdp
impl Clone for AcpiTableRsdp
Source§fn clone(&self) -> AcpiTableRsdp
fn clone(&self) -> AcpiTableRsdp
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 AcpiTableRsdp
impl Debug for AcpiTableRsdp
Source§impl Default for AcpiTableRsdp
impl Default for AcpiTableRsdp
Source§fn default() -> AcpiTableRsdp
fn default() -> AcpiTableRsdp
Returns the “default value” for a type. Read more
Source§impl FromBytes for AcpiTableRsdp
impl FromBytes for AcpiTableRsdp
Source§impl FromZeros for AcpiTableRsdp
impl FromZeros for AcpiTableRsdp
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl IntoBytes for AcpiTableRsdp
impl IntoBytes for AcpiTableRsdp
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for AcpiTableRsdpwhere
[u8; 8]: TryFromBytes,
u8: TryFromBytes,
[u8; 6]: TryFromBytes,
u32: TryFromBytes,
[u32; 2]: TryFromBytes,
[u8; 3]: TryFromBytes,
impl TryFromBytes for AcpiTableRsdpwhere
[u8; 8]: TryFromBytes,
u8: TryFromBytes,
[u8; 6]: TryFromBytes,
u32: TryFromBytes,
[u32; 2]: TryFromBytes,
[u8; 3]: TryFromBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Immutable for AcpiTableRsdp
Auto Trait Implementations§
impl Freeze for AcpiTableRsdp
impl RefUnwindSafe for AcpiTableRsdp
impl Send for AcpiTableRsdp
impl Sync for AcpiTableRsdp
impl Unpin for AcpiTableRsdp
impl UnsafeUnpin for AcpiTableRsdp
impl UnwindSafe for AcpiTableRsdp
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