pub struct DirTree<'a> {
pub map: Vec<'a, TreeNode>,
pub root: usize,
}Fields§
§map: Vec<'a, TreeNode>§root: usizeImplementations§
Source§impl<'a> DirTree<'a>
impl<'a> DirTree<'a>
pub fn new(config: &TreeConfig<'a>, bump: &'a Bump) -> Result<Self>
Source§impl DirTree<'_>
impl DirTree<'_>
pub fn print_tree(&self, config: &TreePrintConfig) -> Result<String>
Auto Trait Implementations§
impl<'a> Freeze for DirTree<'a>
impl<'a> !RefUnwindSafe for DirTree<'a>
impl<'a> !Send for DirTree<'a>
impl<'a> !Sync for DirTree<'a>
impl<'a> Unpin for DirTree<'a>
impl<'a> !UnwindSafe for DirTree<'a>
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