pub struct IndentConfig {
pub indent_str: String,
pub newlines: bool,
}Expand description
Indentation configuration.
Fields§
§indent_str: StringCharacters to use for each level of indentation.
newlines: boolWhether to add a newline before each element.
Trait Implementations§
Source§impl Clone for IndentConfig
impl Clone for IndentConfig
Source§fn clone(&self) -> IndentConfig
fn clone(&self) -> IndentConfig
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 moreAuto Trait Implementations§
impl Freeze for IndentConfig
impl RefUnwindSafe for IndentConfig
impl Send for IndentConfig
impl Sync for IndentConfig
impl Unpin for IndentConfig
impl UnwindSafe for IndentConfig
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