pub struct DirEntry {
pub name: String,
pub region: Region,
pub file_span: Option<(u64, u64)>,
}Expand description
A directory entry from the HEADER or FOOTER region.
Fields§
§name: StringThe /Root/... path name.
region: RegionWhich region the entry was read from.
file_span: Option<(u64, u64)>An in-bounds byte offset and length, or None for non-file entries.
Trait Implementations§
impl Eq for DirEntry
impl StructuralPartialEq for DirEntry
Auto Trait Implementations§
impl Freeze for DirEntry
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnsafeUnpin for DirEntry
impl UnwindSafe for DirEntry
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