Enum html_outliner::SectioningType
source · pub enum SectioningType {
Article,
Aside,
Nav,
Section,
Root,
Body,
Heading,
}
Variants§
Implementations§
source§impl SectioningType
impl SectioningType
pub fn from_sectioning_content_tag<S: AsRef<str>>( s: S ) -> Option<SectioningType>
pub fn as_str(&self) -> &'static str
Trait Implementations§
source§impl Clone for SectioningType
impl Clone for SectioningType
source§fn clone(&self) -> SectioningType
fn clone(&self) -> SectioningType
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 SectioningType
impl Debug for SectioningType
source§impl PartialEq<SectioningType> for SectioningType
impl PartialEq<SectioningType> for SectioningType
source§fn eq(&self, other: &SectioningType) -> bool
fn eq(&self, other: &SectioningType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SectioningType
impl Eq for SectioningType
impl StructuralEq for SectioningType
impl StructuralPartialEq for SectioningType
Auto Trait Implementations§
impl RefUnwindSafe for SectioningType
impl Send for SectioningType
impl Sync for SectioningType
impl Unpin for SectioningType
impl UnwindSafe for SectioningType
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