pub enum FileTreeEntryKind {
Directory {
expanded: bool,
},
File,
}Variants§
Directory
A directory. expanded = true means the renderer recurses
into its children.
File
A regular file.
Trait Implementations§
Source§impl Clone for FileTreeEntryKind
impl Clone for FileTreeEntryKind
Source§fn clone(&self) -> FileTreeEntryKind
fn clone(&self) -> FileTreeEntryKind
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 moreimpl Copy for FileTreeEntryKind
Source§impl Debug for FileTreeEntryKind
impl Debug for FileTreeEntryKind
impl Eq for FileTreeEntryKind
Source§impl PartialEq for FileTreeEntryKind
impl PartialEq for FileTreeEntryKind
impl StructuralPartialEq for FileTreeEntryKind
Auto Trait Implementations§
impl Freeze for FileTreeEntryKind
impl RefUnwindSafe for FileTreeEntryKind
impl Send for FileTreeEntryKind
impl Sync for FileTreeEntryKind
impl Unpin for FileTreeEntryKind
impl UnsafeUnpin for FileTreeEntryKind
impl UnwindSafe for FileTreeEntryKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.