Enum pulldown_cmark::HeadingLevel
source · pub enum HeadingLevel {
H1,
H2,
H3,
H4,
H5,
H6,
}
Variants§
Trait Implementations§
source§impl Clone for HeadingLevel
impl Clone for HeadingLevel
source§fn clone(&self) -> HeadingLevel
fn clone(&self) -> HeadingLevel
Returns a copy of the value. Read more
1.0.0 · 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 HeadingLevel
impl Debug for HeadingLevel
source§impl Display for HeadingLevel
impl Display for HeadingLevel
source§impl Hash for HeadingLevel
impl Hash for HeadingLevel
source§impl Ord for HeadingLevel
impl Ord for HeadingLevel
source§fn cmp(&self, other: &HeadingLevel) -> Ordering
fn cmp(&self, other: &HeadingLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HeadingLevel> for HeadingLevel
impl PartialEq<HeadingLevel> for HeadingLevel
source§fn eq(&self, other: &HeadingLevel) -> bool
fn eq(&self, other: &HeadingLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<HeadingLevel> for HeadingLevel
impl PartialOrd<HeadingLevel> for HeadingLevel
source§fn partial_cmp(&self, other: &HeadingLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &HeadingLevel) -> Option<Ordering>
1.0.0 · source§fn 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