Enum pulldown_cmark::HeadingLevel
source · [−]pub enum HeadingLevel {
H1,
H2,
H3,
H4,
H5,
H6,
}
Variants
H1
H2
H3
H4
H5
H6
Trait Implementations
sourceimpl Clone for HeadingLevel
impl Clone for HeadingLevel
sourcefn clone(&self) -> HeadingLevel
fn clone(&self) -> HeadingLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HeadingLevel
impl Debug for HeadingLevel
sourceimpl Display for HeadingLevel
impl Display for HeadingLevel
sourceimpl Hash for HeadingLevel
impl Hash for HeadingLevel
sourceimpl Ord for HeadingLevel
impl Ord for HeadingLevel
sourceimpl PartialEq<HeadingLevel> for HeadingLevel
impl PartialEq<HeadingLevel> for HeadingLevel
sourceimpl PartialOrd<HeadingLevel> for HeadingLevel
impl PartialOrd<HeadingLevel> for HeadingLevel
sourcefn partial_cmp(&self, other: &HeadingLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &HeadingLevel) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl TryFrom<usize> for HeadingLevel
impl TryFrom<usize> for HeadingLevel
impl Copy for HeadingLevel
impl Eq for HeadingLevel
impl StructuralEq for HeadingLevel
impl StructuralPartialEq for HeadingLevel
Auto Trait Implementations
impl RefUnwindSafe for HeadingLevel
impl Send for HeadingLevel
impl Sync for HeadingLevel
impl Unpin for HeadingLevel
impl UnwindSafe for HeadingLevel
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