pub struct TreeGuides {
pub space: &'static str,
pub vertical: &'static str,
pub branch: &'static str,
pub end: &'static str,
}Expand description
Guide characters for tree structure rendering.
Contains the four types of guide characters:
space: Empty space for alignment (4 chars wide)vertical: Vertical continuation linebranch: Branch connector (for non-last children)end: End connector (for last child)
Fields§
§space: &'static strSpace for alignment (where no vertical line continues).
vertical: &'static strVertical continuation line.
branch: &'static strBranch connector for non-last children.
end: &'static strEnd connector for last child.
Trait Implementations§
Source§impl Clone for TreeGuides
impl Clone for TreeGuides
Source§fn clone(&self) -> TreeGuides
fn clone(&self) -> TreeGuides
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 TreeGuides
impl Debug for TreeGuides
impl Copy for TreeGuides
Auto Trait Implementations§
impl Freeze for TreeGuides
impl RefUnwindSafe for TreeGuides
impl Send for TreeGuides
impl Sync for TreeGuides
impl Unpin for TreeGuides
impl UnwindSafe for TreeGuides
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