#[repr(C, packed(1))]pub struct MadtAcpiTable {
pub header: Sdt,
pub local_apic_phys_addr: u32,
pub flags: u32,
}Expand description
The fixed-size components of the MADT ACPI table.
Fields§
§header: Sdt§local_apic_phys_addr: u32§flags: u32Implementations§
Source§impl MadtAcpiTable
impl MadtAcpiTable
Sourcepub fn get() -> Option<&'static MadtAcpiTable>
pub fn get() -> Option<&'static MadtAcpiTable>
Finds the MADT and returns a reference to it.
Trait Implementations§
Source§impl Clone for MadtAcpiTable
impl Clone for MadtAcpiTable
Source§fn clone(&self) -> MadtAcpiTable
fn clone(&self) -> MadtAcpiTable
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 MadtAcpiTable
impl Debug for MadtAcpiTable
Source§impl FromBytes for MadtAcpiTable
impl FromBytes for MadtAcpiTable
Source§impl FromZeros for MadtAcpiTable
impl FromZeros for MadtAcpiTable
Source§impl TryFromBytes for MadtAcpiTable
impl TryFromBytes for MadtAcpiTable
§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,
§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,
§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 Copy for MadtAcpiTable
Auto Trait Implementations§
impl Freeze for MadtAcpiTable
impl RefUnwindSafe for MadtAcpiTable
impl Send for MadtAcpiTable
impl Sync for MadtAcpiTable
impl Unpin for MadtAcpiTable
impl UnsafeUnpin for MadtAcpiTable
impl UnwindSafe for MadtAcpiTable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more