pub struct FileTreeEntry {
pub path: PathBuf,
pub depth: u32,
pub kind: FileTreeEntryKind,
}Expand description
One row in the rendered file tree. depth controls the
indentation prefix; kind decides whether <CR> toggles
expansion or opens a file.
Fields§
§path: PathBuf§depth: u32§kind: FileTreeEntryKindTrait Implementations§
Source§impl Clone for FileTreeEntry
impl Clone for FileTreeEntry
Source§fn clone(&self) -> FileTreeEntry
fn clone(&self) -> FileTreeEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FileTreeEntry
impl RefUnwindSafe for FileTreeEntry
impl Send for FileTreeEntry
impl Sync for FileTreeEntry
impl Unpin for FileTreeEntry
impl UnsafeUnpin for FileTreeEntry
impl UnwindSafe for FileTreeEntry
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