Enum pulldown_cmark::HeadingLevel
source · pub enum HeadingLevel {
H1 = 1,
H2 = 2,
H3 = 3,
H4 = 4,
H5 = 5,
H6 = 6,
}
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 for HeadingLevel
impl PartialEq 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 for HeadingLevel
impl PartialOrd 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 moresource§impl TryFrom<usize> for HeadingLevel
impl TryFrom<usize> for HeadingLevel
impl Copy for HeadingLevel
impl Eq 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§
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