pub struct Tree { /* private fields */ }Implementations§
Source§impl Tree
impl Tree
pub fn new() -> Self
pub fn style(&mut self, style: PipeStyle) -> Self
pub fn indent(&mut self, indent: usize) -> Self
pub fn begin_branches(&mut self)
pub fn node(&mut self, line: &str)
pub fn node_many_lines(&mut self, lines: &[&str])
pub fn end_branches(&mut self)
pub fn prune(&mut self) -> Self
pub fn prune_and_print(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnwindSafe for Tree
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