pub enum Listing {
None,
Ordered(u8, IndentLevel),
Unordered(IndentLevel),
}
Expand description
Whether the text element is within a list.
Variants
None
Text is not in a list.
Ordered(u8, IndentLevel)
Text is in an ordered list.
Unordered(IndentLevel)
Text is in an unordered list.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Listing
impl Send for Listing
impl Sync for Listing
impl Unpin for Listing
impl UnwindSafe for Listing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more