pub struct HfsFileLocation {
pub offset_in_image: u64,
pub length: u64,
pub fragmented: bool,
}Expand description
Result of HfsFilesystem::locate_file_by_cnid. offset_in_image is
absolute within the underlying image file, so scripts patching
disk-byte offsets into boot blocks or supervisor payloads can use it
directly without re-adding any partition base.
Fields§
§offset_in_image: u64§length: u64§fragmented: boolTrait Implementations§
Source§impl Clone for HfsFileLocation
impl Clone for HfsFileLocation
impl Copy for HfsFileLocation
Auto Trait Implementations§
impl Freeze for HfsFileLocation
impl RefUnwindSafe for HfsFileLocation
impl Send for HfsFileLocation
impl Sync for HfsFileLocation
impl Unpin for HfsFileLocation
impl UnsafeUnpin for HfsFileLocation
impl UnwindSafe for HfsFileLocation
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