Enum html_bindgen::merge::MergedCategory
source · 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 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 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<MergedCategory> for MergedCategory
impl PartialEq<MergedCategory> for MergedCategory
source§fn eq(&self, other: &MergedCategory) -> bool
fn eq(&self, other: &MergedCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<MergedCategory> for MergedCategory
impl PartialOrd<MergedCategory> for MergedCategory
source§fn partial_cmp(&self, other: &MergedCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &MergedCategory) -> 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 moresource§impl Serialize for MergedCategory
impl Serialize for MergedCategory
impl Eq for MergedCategory
impl StructuralEq for MergedCategory
impl StructuralPartialEq for MergedCategory
Auto Trait Implementations§
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