#[repr(packed(1))]pub struct Rsdp {
pub signature: [u8; 8],
pub checksum: u8,
pub oem_id: [u8; 6],
pub revision: u8,
pub _rsdt_addr: u32,
pub length: u32,
pub xsdt_addr: u64,
pub extended_checksum: u8,
pub _reserved: [u8; 3],
}Fields§
§signature: [u8; 8]§checksum: u8§oem_id: [u8; 6]§revision: u8§_rsdt_addr: u32§length: u32§xsdt_addr: u64§extended_checksum: u8§_reserved: [u8; 3]Implementations§
Trait Implementations§
Source§impl AsBytes for Rsdp
impl AsBytes for Rsdp
Source§impl FromBytes for Rsdp
impl FromBytes for Rsdp
Source§fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_prefix(bytes: &mut [u8]) -> Option<&mut Self>
Source§fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
fn mut_from_suffix(bytes: &mut [u8]) -> Option<&mut Self>
Source§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized,
Interprets the prefix of the given
bytes as a &[Self] with length
equal to count without copying. Read moreSource§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized,
Interprets the suffix of the given
bytes as a &[Self] with length
equal to count without copying. Read moreSource§fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
fn mut_slice_from(bytes: &mut [u8]) -> Option<&mut [Self]>
Source§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [Self], &mut [u8])>
fn mut_slice_from_prefix( bytes: &mut [u8], count: usize, ) -> Option<(&mut [Self], &mut [u8])>
Interprets the prefix of the given
bytes as a &mut [Self] with length
equal to count without copying. Read moreSource§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize,
) -> Option<(&mut [u8], &mut [Self])>
fn mut_slice_from_suffix( bytes: &mut [u8], count: usize, ) -> Option<(&mut [u8], &mut [Self])>
Interprets the suffix of the given
bytes as a &mut [Self] with length
equal to count without copying. Read moreSource§impl FromZeroes for Rsdpwhere
[u8; 8]: FromZeroes,
u8: FromZeroes,
[u8; 6]: FromZeroes,
u32: FromZeroes,
u64: FromZeroes,
[u8; 3]: FromZeroes,
impl FromZeroes for Rsdpwhere
[u8; 8]: FromZeroes,
u8: FromZeroes,
[u8; 6]: FromZeroes,
u32: FromZeroes,
u64: FromZeroes,
[u8; 3]: FromZeroes,
Auto Trait Implementations§
impl Freeze for Rsdp
impl RefUnwindSafe for Rsdp
impl Send for Rsdp
impl Sync for Rsdp
impl Unpin for Rsdp
impl UnwindSafe for Rsdp
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