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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)