Enum html5tokenizer::trace::AttrValueSyntax
source · pub enum AttrValueSyntax {
Unquoted,
SingleQuoted,
DoubleQuoted,
}
Expand description
The syntax of the attribute value.
Variants§
Unquoted
An unquoted attribute value, e.g. id=foo
.
SingleQuoted
A single-quoted attribute value, e.g. id='foo'
.
DoubleQuoted
A double-quoted attribute value, e.g. id="foo"
.
Trait Implementations§
source§impl Clone for AttrValueSyntax
impl Clone for AttrValueSyntax
source§fn clone(&self) -> AttrValueSyntax
fn clone(&self) -> AttrValueSyntax
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 AttrValueSyntax
impl Debug for AttrValueSyntax
source§impl PartialEq for AttrValueSyntax
impl PartialEq for AttrValueSyntax
source§fn eq(&self, other: &AttrValueSyntax) -> bool
fn eq(&self, other: &AttrValueSyntax) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AttrValueSyntax
impl Eq for AttrValueSyntax
impl StructuralEq for AttrValueSyntax
impl StructuralPartialEq for AttrValueSyntax
Auto Trait Implementations§
impl RefUnwindSafe for AttrValueSyntax
impl Send for AttrValueSyntax
impl Sync for AttrValueSyntax
impl Unpin for AttrValueSyntax
impl UnwindSafe for AttrValueSyntax
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