pub(crate) enum Indent<'i> {
None,
Owned(Indentation),
Borrow(&'i mut Indentation),
}
Variants§
None
No indent should be written before the element
Owned(Indentation)
The specified indent should be written. The type owns the buffer with indent
Borrow(&'i mut Indentation)
The specified indent should be written. The type borrows buffer with indent from its owner
Implementations§
Auto Trait Implementations§
impl<'i> Freeze for Indent<'i>
impl<'i> RefUnwindSafe for Indent<'i>
impl<'i> Send for Indent<'i>
impl<'i> Sync for Indent<'i>
impl<'i> Unpin for Indent<'i>
impl<'i> !UnwindSafe for Indent<'i>
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