pub enum IndentationMatch {
TooLittle,
JustRight,
TooMuch,
}Expand description
A enumeration of the different ways a node’s child indentation might interact with the indentation of the parent.
Variants§
TooLittle
If a (sub)?body node has less indentation than its parent would require, it is interpreted as not belonging to the currently focused on node.
JustRight
This node belongs to the parent node.
TooMuch
This node is most likely a block quote.
Auto Trait Implementations§
impl Freeze for IndentationMatch
impl RefUnwindSafe for IndentationMatch
impl Send for IndentationMatch
impl Sync for IndentationMatch
impl Unpin for IndentationMatch
impl UnwindSafe for IndentationMatch
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