pub struct TreeOptions {
pub sort_keys: bool,
pub pretty_print: bool,
pub indent_level: usize,
}Expand description
The options of totree.
Fields§
§sort_keys: boolWhether keys of dictionaries are sorted (sort_keys).
pretty_print: boolWhether <data> is split into indented lines (pretty_print).
indent_level: usizeThe indentation level of the value (indent_level).
Trait Implementations§
Auto Trait Implementations§
impl Forget for TreeOptions
impl Freeze for TreeOptions
impl Move for TreeOptions
impl RefUnwindSafe for TreeOptions
impl Send for TreeOptions
impl Sync for TreeOptions
impl Unpin for TreeOptions
impl UnsafeUnpin for TreeOptions
impl UnwindSafe for TreeOptions
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