pub enum Attribute<'input> {
Word(Loc<Cow<'input, str>>),
List(Loc<Cow<'input, str>>, Vec<AttributeItem<'input>>),
}
Expand description
Variants§
Trait Implementations§
impl<'input> Eq for Attribute<'input>
impl<'input> StructuralPartialEq for Attribute<'input>
Auto Trait Implementations§
impl<'input> Freeze for Attribute<'input>
impl<'input> RefUnwindSafe for Attribute<'input>
impl<'input> Send for Attribute<'input>
impl<'input> Sync for Attribute<'input>
impl<'input> Unpin for Attribute<'input>
impl<'input> UnwindSafe for Attribute<'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