pub struct FlatFileTreeRow {
pub depth: usize,
pub name: String,
pub path: String,
pub kind: FileTreeNodeKind,
pub is_collapsed: bool,
pub materialization: DirectoryMaterialization,
pub child_count: Option<usize>,
}Expand description
One flattened row derived from a file tree snapshot.
Fields§
§depth: usize§name: String§path: String§kind: FileTreeNodeKind§is_collapsed: bool§materialization: DirectoryMaterialization§child_count: Option<usize>Trait Implementations§
Source§impl Clone for FlatFileTreeRow
impl Clone for FlatFileTreeRow
Source§fn clone(&self) -> FlatFileTreeRow
fn clone(&self) -> FlatFileTreeRow
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 FlatFileTreeRow
impl Debug for FlatFileTreeRow
Source§impl PartialEq for FlatFileTreeRow
impl PartialEq for FlatFileTreeRow
impl Eq for FlatFileTreeRow
impl StructuralPartialEq for FlatFileTreeRow
Auto Trait Implementations§
impl Freeze for FlatFileTreeRow
impl RefUnwindSafe for FlatFileTreeRow
impl Send for FlatFileTreeRow
impl Sync for FlatFileTreeRow
impl Unpin for FlatFileTreeRow
impl UnsafeUnpin for FlatFileTreeRow
impl UnwindSafe for FlatFileTreeRow
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