pub struct HeadingLevel(u8);Expand description
A heading level from 1 to 6.
Tuple Fields§
§0: u8Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HeadingLevel
Source§impl Debug for HeadingLevel
impl Debug for HeadingLevel
impl Eq for HeadingLevel
Source§impl<'ʄ> Facet<'ʄ> for HeadingLevel
impl<'ʄ> Facet<'ʄ> for HeadingLevel
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
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 UnsafeUnpin 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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.