pub enum IndentChange<I = Count> {
Auto,
Decrease(I),
Increase(I),
}Expand description
This represents how to change the indentation of a range.
Variants§
Auto
Automatically determine indentation level.
Decrease(I)
Decrease the indentation level of indentation.
Increase(I)
Increase the indentation level of indentation.
Trait Implementations§
Source§impl<I: Clone> Clone for IndentChange<I>
impl<I: Clone> Clone for IndentChange<I>
Source§fn clone(&self) -> IndentChange<I>
fn clone(&self) -> IndentChange<I>
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<I: Debug> Debug for IndentChange<I>
impl<I: Debug> Debug for IndentChange<I>
Source§impl<I: PartialEq> PartialEq for IndentChange<I>
impl<I: PartialEq> PartialEq for IndentChange<I>
impl<I: Eq> Eq for IndentChange<I>
impl<I> StructuralPartialEq for IndentChange<I>
Auto Trait Implementations§
impl<I> Freeze for IndentChange<I>where
I: Freeze,
impl<I> RefUnwindSafe for IndentChange<I>where
I: RefUnwindSafe,
impl<I> Send for IndentChange<I>where
I: Send,
impl<I> Sync for IndentChange<I>where
I: Sync,
impl<I> Unpin for IndentChange<I>where
I: Unpin,
impl<I> UnwindSafe for IndentChange<I>where
I: UnwindSafe,
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