pub struct FileNode {
pub name: String,
pub path: PathBuf,
pub is_dir: bool,
pub icon: String,
pub children: Vec<FileNode>,
}Expand description
Struktura węzła drzewa
Fields§
§name: String§path: PathBuf§is_dir: bool§icon: String§children: Vec<FileNode>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileNode
impl RefUnwindSafe for FileNode
impl Send for FileNode
impl Sync for FileNode
impl Unpin for FileNode
impl UnsafeUnpin for FileNode
impl UnwindSafe for FileNode
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