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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HeadingLevel
impl Debug for HeadingLevel
Source§impl Default for HeadingLevel
impl Default for HeadingLevel
Source§fn default() -> HeadingLevel
fn default() -> HeadingLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HeadingLevel
impl<'de> Deserialize<'de> for HeadingLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<HeadingLevel> for u8
impl From<HeadingLevel> for u8
Source§fn from(level: HeadingLevel) -> Self
fn from(level: HeadingLevel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HeadingLevel
impl PartialEq for HeadingLevel
Source§impl Serialize for HeadingLevel
impl Serialize for HeadingLevel
Source§impl TryFrom<u8> for HeadingLevel
impl TryFrom<u8> 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