pub enum IndentPattern {
Fixed(usize),
FieldNameLength,
}Expand description
Detected indentation pattern for multi-line field values
Variants§
Fixed(usize)
All fields use a fixed number of spaces for indentation
FieldNameLength
Each field’s indentation matches its field name length + 2 (for “: “)
Trait Implementations§
Source§impl Clone for IndentPattern
impl Clone for IndentPattern
Source§fn clone(&self) -> IndentPattern
fn clone(&self) -> IndentPattern
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 IndentPattern
impl Debug for IndentPattern
Source§impl PartialEq for IndentPattern
impl PartialEq for IndentPattern
impl Eq for IndentPattern
impl StructuralPartialEq for IndentPattern
Auto Trait Implementations§
impl Freeze for IndentPattern
impl RefUnwindSafe for IndentPattern
impl Send for IndentPattern
impl Sync for IndentPattern
impl Unpin for IndentPattern
impl UnsafeUnpin for IndentPattern
impl UnwindSafe for IndentPattern
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