pub enum ThematicStyle {
Dash,
Asterisk,
Underscore,
Underscore70,
Preserve,
}Expand description
Thematic-break canonicalisation policy. Defaults to Preserve:
structural emit echoes the source --- / *** / ___ line
verbatim. The fixed variants exist for the future canonicalisation
pass.
Variants§
Dash
Asterisk
Underscore
Underscore70
Rewrite the whole break line to mdformat’s 70 underscores.
Preserve
Implementations§
Trait Implementations§
Source§impl Clone for ThematicStyle
impl Clone for ThematicStyle
Source§fn clone(&self) -> ThematicStyle
fn clone(&self) -> ThematicStyle
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 ThematicStyle
impl Debug for ThematicStyle
Source§impl PartialEq for ThematicStyle
impl PartialEq for ThematicStyle
Source§fn eq(&self, other: &ThematicStyle) -> bool
fn eq(&self, other: &ThematicStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ThematicStyle
impl Eq for ThematicStyle
impl StructuralPartialEq for ThematicStyle
Auto Trait Implementations§
impl Freeze for ThematicStyle
impl RefUnwindSafe for ThematicStyle
impl Send for ThematicStyle
impl Sync for ThematicStyle
impl Unpin for ThematicStyle
impl UnsafeUnpin for ThematicStyle
impl UnwindSafe for ThematicStyle
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