pub enum AttributeValue {
String(String),
Ident(Ident),
}Variants§
Trait Implementations§
Source§impl Clone for AttributeValue
impl Clone for AttributeValue
Source§fn clone(&self) -> AttributeValue
fn clone(&self) -> AttributeValue
Returns a duplicate 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 AttributeValue
impl Debug for AttributeValue
Source§impl From<AttributeValue> for Cursor
impl From<AttributeValue> for Cursor
Source§fn from(value: AttributeValue) -> Cursor
fn from(value: AttributeValue) -> Cursor
Converts to this type from the input type.
Source§impl From<AttributeValue> for Token
impl From<AttributeValue> for Token
Source§fn from(value: AttributeValue) -> Token
fn from(value: AttributeValue) -> Token
Converts to this type from the input type.
Source§impl Hash for AttributeValue
impl Hash for AttributeValue
Source§impl Ord for AttributeValue
impl Ord for AttributeValue
Source§fn cmp(&self, other: &AttributeValue) -> Ordering
fn cmp(&self, other: &AttributeValue) -> 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<'a> Parse<'a> for AttributeValue
impl<'a> Parse<'a> for AttributeValue
Source§impl PartialEq for AttributeValue
impl PartialEq for AttributeValue
Source§impl PartialOrd for AttributeValue
impl PartialOrd for AttributeValue
Source§impl<'a> Peek<'a> for AttributeValue
impl<'a> Peek<'a> for AttributeValue
Source§impl ToCursors for AttributeValue
impl ToCursors for AttributeValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for AttributeValue
impl Eq for AttributeValue
impl StructuralPartialEq for AttributeValue
Auto Trait Implementations§
impl Freeze for AttributeValue
impl RefUnwindSafe for AttributeValue
impl Send for AttributeValue
impl Sync for AttributeValue
impl Unpin for AttributeValue
impl UnwindSafe for AttributeValue
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