pub struct ExplorerEntry {
pub name: String,
pub rel_path: String,
pub kind: ExplorerEntryKind,
pub is_symlink: bool,
}Expand description
A single entry returned by list_dir.
Fields§
§name: StringFile/directory name (leaf component only).
rel_path: StringForward-slash separated path relative to the workspace root.
kind: ExplorerEntryKindWhether this entry is a file or directory.
is_symlink: boolWhether the entry is a symbolic link.
Trait Implementations§
Source§impl Clone for ExplorerEntry
impl Clone for ExplorerEntry
Source§fn clone(&self) -> ExplorerEntry
fn clone(&self) -> ExplorerEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExplorerEntry
impl Debug for ExplorerEntry
Auto Trait Implementations§
impl Freeze for ExplorerEntry
impl RefUnwindSafe for ExplorerEntry
impl Send for ExplorerEntry
impl Sync for ExplorerEntry
impl Unpin for ExplorerEntry
impl UnwindSafe for ExplorerEntry
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