pub struct DirectoryTreeState {
pub tree: TreeState,
pub show_icons: bool,
}Expand description
State for the directory tree widget.
Fields§
§tree: TreeStateThe underlying tree state (reuses existing TreeState).
show_icons: boolWhether to show file/folder icons.
Implementations§
Trait Implementations§
Source§impl Clone for DirectoryTreeState
impl Clone for DirectoryTreeState
Source§fn clone(&self) -> DirectoryTreeState
fn clone(&self) -> DirectoryTreeState
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 DirectoryTreeState
impl Debug for DirectoryTreeState
Auto Trait Implementations§
impl Freeze for DirectoryTreeState
impl RefUnwindSafe for DirectoryTreeState
impl Send for DirectoryTreeState
impl Sync for DirectoryTreeState
impl Unpin for DirectoryTreeState
impl UnsafeUnpin for DirectoryTreeState
impl UnwindSafe for DirectoryTreeState
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