Struct acpi_table::TableLocation
source · pub struct TableLocation {
pub offset: usize,
pub slice_offset_and_length: Option<(usize, usize)>,
}
Expand description
A record that tracks where an ACPI Table exists in memory,
given in terms of offsets into the AcpiTables
’s MappedPages
.
Fields§
§offset: usize
The offset of the statically-sized part of the table, which is the entire table if there is no dynamically-sized component.
slice_offset_and_length: Option<(usize, usize)>
The offset and length of the dynamically-sized part of the table, if it exists.
If the entire table is statically-sized, this is None
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TableLocation
impl Send for TableLocation
impl Sync for TableLocation
impl Unpin for TableLocation
impl UnwindSafe for TableLocation
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