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
impl Copy for AttrValueSyntax
impl Eq for AttrValueSyntax
impl StructuralPartialEq for AttrValueSyntax
Auto Trait Implementations§
impl Freeze for AttrValueSyntax
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