#[non_exhaustive]pub struct DirEntry {
pub offset: i64,
pub size: i64,
pub flags: Option<u32>,
pub path: RawStr,
}Expand description
One directory row.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.offset: i64Offset in the decoded data.
size: i64Size in the decoded data.
flags: Option<u32>Flags (Fs layout).
path: RawStrThe path, as read.
Trait Implementations§
impl Eq for DirEntry
impl StructuralPartialEq for DirEntry
Auto Trait Implementations§
impl !Freeze for DirEntry
impl !RefUnwindSafe for DirEntry
impl !UnwindSafe for DirEntry
impl Forget for DirEntry
impl Move for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnsafeUnpin 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