pub struct FileEntry {
pub name: String,
pub path: String,
pub size: u64,
pub is_dir: bool,
}Expand description
Metadata for a single file or directory in a file panel.
Fields§
§name: StringBase file name (not the full path).
path: StringAbsolute path string (used as the stable identifier for marked sets).
size: u64File size in bytes (0 for directories).
is_dir: booltrue when this entry is a directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnsafeUnpin for FileEntry
impl UnwindSafe for FileEntry
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