pub enum ParsedCategory {
Metadata,
Flow,
Sectioning,
Heading,
Phrasing,
Embedded,
Interactive,
Palpable,
ScriptSupporting,
Transparent,
}
Expand description
Each element in HTML falls into zero or more categories that group elements with similar characteristics together.
Variants§
Metadata
Flow
Sectioning
Heading
Phrasing
Embedded
Interactive
Palpable
ScriptSupporting
Transparent
Trait Implementations§
Source§impl Clone for ParsedCategory
impl Clone for ParsedCategory
Source§fn clone(&self) -> ParsedCategory
fn clone(&self) -> ParsedCategory
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 ParsedCategory
impl Debug for ParsedCategory
Source§impl<'de> Deserialize<'de> for ParsedCategory
impl<'de> Deserialize<'de> for ParsedCategory
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<ParsedCategory> for MergedCategory
impl From<ParsedCategory> for MergedCategory
Source§fn from(value: ParsedCategory) -> Self
fn from(value: ParsedCategory) -> Self
Converts to this type from the input type.
Source§impl From<ParsedCategory> for ParsedRelationship
impl From<ParsedCategory> for ParsedRelationship
Source§fn from(value: ParsedCategory) -> Self
fn from(value: ParsedCategory) -> Self
Converts to this type from the input type.
Source§impl Hash for ParsedCategory
impl Hash for ParsedCategory
Source§impl Ord for ParsedCategory
impl Ord for ParsedCategory
Source§fn cmp(&self, other: &ParsedCategory) -> Ordering
fn cmp(&self, other: &ParsedCategory) -> 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 ParsedCategory
impl PartialEq for ParsedCategory
Source§impl PartialOrd for ParsedCategory
impl PartialOrd for ParsedCategory
Source§impl Serialize for ParsedCategory
impl Serialize for ParsedCategory
impl Eq for ParsedCategory
impl StructuralPartialEq for ParsedCategory
Auto Trait Implementations§
impl Freeze for ParsedCategory
impl RefUnwindSafe for ParsedCategory
impl Send for ParsedCategory
impl Sync for ParsedCategory
impl Unpin for ParsedCategory
impl UnwindSafe for ParsedCategory
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