pub struct IndentConfig {
pub indent: usize,
pub map_indent: Option<usize>,
pub sequence_indent: Option<usize>,
pub sequence_dash_offset: usize,
}Expand description
Indentation configuration
Fields§
§indent: usizeBase indentation
map_indent: Option<usize>Map indentation
sequence_indent: Option<usize>Sequence indentation
sequence_dash_offset: usizeSequence dash offset
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 moreSource§impl Debug for IndentConfig
impl Debug for IndentConfig
Source§impl Default for IndentConfig
impl Default for IndentConfig
Source§impl PartialEq for IndentConfig
impl PartialEq for IndentConfig
impl Eq for IndentConfig
impl StructuralPartialEq for IndentConfig
Auto 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.