pub struct Mcfg<'a>(/* private fields */);
Expand description
The MCFG table, for detecting PCI root buses
Implementations§
Source§impl<'a> Mcfg<'a>
impl<'a> Mcfg<'a>
Sourcepub fn header(&self) -> AcpiTableHeader<'_>
pub fn header(&self) -> AcpiTableHeader<'_>
Gets the table’s header
Sourcepub fn records(&self) -> impl Iterator<Item = McfgRecord> + '_
pub fn records(&self) -> impl Iterator<Item = McfgRecord> + '_
Gets an iterator over the table’s records
§Panics
If the table is malformed - if the table (excluding header and reserved bytes) is not a multiple of 16 bytes in length
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Mcfg<'a>
impl<'a> RefUnwindSafe for Mcfg<'a>
impl<'a> Send for Mcfg<'a>
impl<'a> Sync for Mcfg<'a>
impl<'a> Unpin for Mcfg<'a>
impl<'a> UnwindSafe for Mcfg<'a>
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