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§impl PartialOrd for HeadingLevel
impl PartialOrd for HeadingLevel
Source§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 Freeze for HeadingLevel
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