Enum html_bindgen::parse::ParsedCategory
source · 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<ParsedCategory> for ParsedCategory
impl PartialEq<ParsedCategory> for ParsedCategory
source§fn eq(&self, other: &ParsedCategory) -> bool
fn eq(&self, other: &ParsedCategory) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<ParsedCategory> for ParsedCategory
impl PartialOrd<ParsedCategory> for ParsedCategory
source§fn partial_cmp(&self, other: &ParsedCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &ParsedCategory) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more