Enum html_parser::ElementVariant
source · pub enum ElementVariant {
Normal,
Void,
}
Expand description
Normal: <div></div>
or Void: <meta/>
and <meta>
Variants§
Trait Implementations§
source§impl Clone for ElementVariant
impl Clone for ElementVariant
source§fn clone(&self) -> ElementVariant
fn clone(&self) -> ElementVariant
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 ElementVariant
impl Debug for ElementVariant
source§impl PartialEq<ElementVariant> for ElementVariant
impl PartialEq<ElementVariant> for ElementVariant
source§fn eq(&self, other: &ElementVariant) -> bool
fn eq(&self, other: &ElementVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ElementVariant
impl Serialize for ElementVariant
impl StructuralPartialEq for ElementVariant
Auto Trait Implementations§
impl RefUnwindSafe for ElementVariant
impl Send for ElementVariant
impl Sync for ElementVariant
impl Unpin for ElementVariant
impl UnwindSafe for ElementVariant
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