pub struct Location {
pub construction_method: u8,
pub base_offset: u64,
pub extents: Vec<(u64, u64)>,
}Expand description
Where an item’s bytes live (iloc).
Fields§
§construction_method: u80 = file offsets, 1 = offsets into idat, 2 = into another item.
base_offset: u64§extents: Vec<(u64, u64)>(offset, length) pairs; a length of 0 means “to the end”.
Trait Implementations§
impl Eq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl Forget for Location
impl Freeze for Location
impl Move for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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