pub struct TreeStyle {
pub root_marker: &'static str,
pub vertical: &'static str,
pub vertical_pad: &'static str,
pub elbow: &'static str,
pub branch: &'static str,
pub node_connector: &'static str,
pub output_child: &'static str,
pub output_branch: &'static str,
pub output_continuation: &'static str,
pub output_padding: &'static str,
pub padding: &'static str,
}Expand description
A complete set of glyphs for drawing a plan tree.
Each field maps directly onto a position in the rendered output. The
vertical_pad and padding fields keep child indentation aligned even
when the elbow/branch glyphs change width.
Fields§
§root_marker: &'static str§vertical: &'static str§vertical_pad: &'static str§elbow: &'static str§branch: &'static str§node_connector: &'static str§output_child: &'static str§output_branch: &'static str§output_continuation: &'static str§output_padding: &'static str§padding: &'static strImplementations§
Trait Implementations§
impl Copy for TreeStyle
impl Eq for TreeStyle
impl StructuralPartialEq for TreeStyle
Auto Trait Implementations§
impl Forget for TreeStyle
impl Freeze for TreeStyle
impl Move for TreeStyle
impl RefUnwindSafe for TreeStyle
impl Send for TreeStyle
impl Sync for TreeStyle
impl Unpin for TreeStyle
impl UnsafeUnpin for TreeStyle
impl UnwindSafe for TreeStyle
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