pub struct DirectoryEntry {
pub name_len: u8,
pub name_bytes: [u8; 255],
pub offset: u64,
pub length: u64,
}
Fields§
§name_len: u8
The length of the file name in bytes.
name_bytes: [u8; 255]
The bytes of the file name, UTF-8 encoded.
offset: u64
The location of the file, as an offset from header.data_start. 4k-aligned.
length: u64
The length of the file, in bytes
Implementations§
Trait Implementations§
Source§impl Debug for DirectoryEntry
impl Debug for DirectoryEntry
Source§impl Default for DirectoryEntry
impl Default for DirectoryEntry
Source§fn default() -> DirectoryEntry
fn default() -> DirectoryEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for DirectoryEntry
impl PartialEq for DirectoryEntry
impl Eq for DirectoryEntry
Auto Trait Implementations§
impl Freeze for DirectoryEntry
impl RefUnwindSafe for DirectoryEntry
impl Send for DirectoryEntry
impl Sync for DirectoryEntry
impl Unpin for DirectoryEntry
impl UnwindSafe for DirectoryEntry
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