StringTree

Trait StringTree 

Source
pub trait StringTree {
    // Required method
    fn get_ref(&self) -> &[u8] ;

    // Provided method
    fn to_string(&self) -> String { ... }
}

Required Methods§

Source

fn get_ref(&self) -> &[u8]

Provided Methods§

Source

fn to_string(&self) -> String

Implementations§

Source§

impl dyn StringTree

Source

pub fn new(s: &[&dyn StringTree]) -> StringTreeBuf

Source

pub fn indent(s: &'static str) -> StringTreeIndent

Implementors§