pub enum IndentOptions {
Mixed,
One,
Tab,
}Expand description
Configuration for indent of lists.
Variants§
Mixed
Depends on the item and its parent list: uses IndentOptions::One if
the item and list are tight and IndentOptions::Tab otherwise.
One
The size of the bullet plus one space.
Tab
Tab stop.
Trait Implementations§
Source§impl Clone for IndentOptions
impl Clone for IndentOptions
impl Copy for IndentOptions
Source§impl Debug for IndentOptions
impl Debug for IndentOptions
impl Eq for IndentOptions
Source§impl PartialEq for IndentOptions
impl PartialEq for IndentOptions
impl StructuralPartialEq for IndentOptions
Auto Trait Implementations§
impl Freeze for IndentOptions
impl RefUnwindSafe for IndentOptions
impl Send for IndentOptions
impl Sync for IndentOptions
impl Unpin for IndentOptions
impl UnsafeUnpin for IndentOptions
impl UnwindSafe for IndentOptions
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