pub struct TreeNode {
pub name: String,
pub is_dir: bool,
pub children: Vec<TreeNode>,
pub is_current: bool,
}Expand description
Tree node for visualization
Fields§
§name: String§is_dir: bool§children: Vec<TreeNode>§is_current: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for TreeNode
impl RefUnwindSafe for TreeNode
impl Send for TreeNode
impl Sync for TreeNode
impl Unpin for TreeNode
impl UnwindSafe for TreeNode
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