pub enum WrapIndent {
None,
SameAsLineIndent,
FixedCells(usize),
}Expand description
Wrapped-line indentation policy.
Variants§
None
No indentation for wrapped continuations.
SameAsLineIndent
Indent wrapped continuations by the width (in cells) of the logical line’s leading whitespace prefix (spaces + tabs).
FixedCells(usize)
Indent wrapped continuations by a fixed number of cells.
Trait Implementations§
Source§impl Clone for WrapIndent
impl Clone for WrapIndent
impl Copy for WrapIndent
Source§impl Debug for WrapIndent
impl Debug for WrapIndent
Source§impl Default for WrapIndent
impl Default for WrapIndent
impl Eq for WrapIndent
Source§impl PartialEq for WrapIndent
impl PartialEq for WrapIndent
impl StructuralPartialEq for WrapIndent
Auto Trait Implementations§
impl Forget for WrapIndent
impl Freeze for WrapIndent
impl Move for WrapIndent
impl RefUnwindSafe for WrapIndent
impl Send for WrapIndent
impl Sync for WrapIndent
impl Unpin for WrapIndent
impl UnsafeUnpin for WrapIndent
impl UnwindSafe for WrapIndent
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