pub enum AttributeItem<'input> {
Word(Loc<Value<'input>>),
NameValue {
name: Loc<Cow<'input, str>>,
value: Loc<Value<'input>>,
},
}
Expand description
Variants§
Trait Implementations§
Source§impl<'input> Debug for AttributeItem<'input>
impl<'input> Debug for AttributeItem<'input>
Source§impl<'input> PartialEq for AttributeItem<'input>
impl<'input> PartialEq for AttributeItem<'input>
impl<'input> Eq for AttributeItem<'input>
impl<'input> StructuralPartialEq for AttributeItem<'input>
Auto Trait Implementations§
impl<'input> Freeze for AttributeItem<'input>
impl<'input> RefUnwindSafe for AttributeItem<'input>
impl<'input> Send for AttributeItem<'input>
impl<'input> Sync for AttributeItem<'input>
impl<'input> Unpin for AttributeItem<'input>
impl<'input> UnwindSafe for AttributeItem<'input>
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