Enum w3t::ElementKind
source · pub enum ElementKind {
Regular,
Template,
MathmlPoint,
}Expand description
Most elements are equal, except…
Variants§
Regular
The usual element
Template
Template element is not part of the document per se
MathmlPoint
a.k.a. mathml_annotation_xml_integration_point?
Trait Implementations§
source§impl Clone for ElementKind
impl Clone for ElementKind
source§fn clone(&self) -> ElementKind
fn clone(&self) -> ElementKind
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 ElementKind
impl Debug for ElementKind
source§impl Default for ElementKind
impl Default for ElementKind
source§fn default() -> ElementKind
fn default() -> ElementKind
Returns the “default value” for a type. Read more
source§impl Hash for ElementKind
impl Hash for ElementKind
source§impl PartialEq<ElementKind> for ElementKind
impl PartialEq<ElementKind> for ElementKind
source§fn eq(&self, other: &ElementKind) -> bool
fn eq(&self, other: &ElementKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ElementKind
impl Eq for ElementKind
impl StructuralEq for ElementKind
impl StructuralPartialEq for ElementKind
Auto Trait Implementations§
impl RefUnwindSafe for ElementKind
impl Send for ElementKind
impl Sync for ElementKind
impl Unpin for ElementKind
impl UnwindSafe for ElementKind
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