pub enum MergedCategory {
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.
Unlike ParsedCategory
, this can no longer hold any child elements.
Variants§
Metadata
Flow
Sectioning
Heading
Phrasing
Embedded
Interactive
Palpable
ScriptSupporting
Transparent
Trait Implementations§
Source§impl Clone for MergedCategory
impl Clone for MergedCategory
Source§fn clone(&self) -> MergedCategory
fn clone(&self) -> MergedCategory
Returns a duplicate 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 MergedCategory
impl Debug for MergedCategory
Source§impl<'de> Deserialize<'de> for MergedCategory
impl<'de> Deserialize<'de> for MergedCategory
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 Hash for MergedCategory
impl Hash for MergedCategory
Source§impl Ord for MergedCategory
impl Ord for MergedCategory
Source§fn cmp(&self, other: &MergedCategory) -> Ordering
fn cmp(&self, other: &MergedCategory) -> 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 MergedCategory
impl PartialEq for MergedCategory
Source§impl PartialOrd for MergedCategory
impl PartialOrd for MergedCategory
Source§impl Serialize for MergedCategory
impl Serialize for MergedCategory
impl Eq for MergedCategory
impl StructuralPartialEq for MergedCategory
Auto Trait Implementations§
impl Freeze for MergedCategory
impl RefUnwindSafe for MergedCategory
impl Send for MergedCategory
impl Sync for MergedCategory
impl Unpin for MergedCategory
impl UnwindSafe for MergedCategory
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