pub enum OrderedListStyle {
One,
Consistent,
Preserve,
}Expand description
Ordered-list number normalisation policy.
One rewrites markers to 1. where verification preserves the
list start. Consistent renumbers from the source first marker.
Preserve keeps source numbering verbatim.
Variants§
One
Rewrite every item marker in the list to 1..
Consistent
Renumber items from the source list’s first marker.
Preserve
Trait Implementations§
Source§impl Clone for OrderedListStyle
impl Clone for OrderedListStyle
Source§fn clone(&self) -> OrderedListStyle
fn clone(&self) -> OrderedListStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrderedListStyle
impl Debug for OrderedListStyle
Source§impl PartialEq for OrderedListStyle
impl PartialEq for OrderedListStyle
Source§fn eq(&self, other: &OrderedListStyle) -> bool
fn eq(&self, other: &OrderedListStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OrderedListStyle
impl Eq for OrderedListStyle
impl StructuralPartialEq for OrderedListStyle
Auto Trait Implementations§
impl Freeze for OrderedListStyle
impl RefUnwindSafe for OrderedListStyle
impl Send for OrderedListStyle
impl Sync for OrderedListStyle
impl Unpin for OrderedListStyle
impl UnsafeUnpin for OrderedListStyle
impl UnwindSafe for OrderedListStyle
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