pub enum OutputFormat {
Tree {
max_depth: Option<usize>,
color: bool,
},
Json,
Yaml,
Toml,
}Expand description
What the renderer should produce.
Variants§
Tree
tree -L N style with optional ANSI color.
Fields
Json
Yaml
Toml
Implementations§
Trait Implementations§
Source§impl Clone for OutputFormat
impl Clone for OutputFormat
Auto Trait Implementations§
impl Freeze for OutputFormat
impl RefUnwindSafe for OutputFormat
impl Send for OutputFormat
impl Sync for OutputFormat
impl Unpin for OutputFormat
impl UnsafeUnpin for OutputFormat
impl UnwindSafe for OutputFormat
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