pub enum AttributeKind<'input> {
Ident(IdentToken<'input>),
String(StringLiteral<'input>),
}Variants§
Ident(IdentToken<'input>)
String(StringLiteral<'input>)
Implementations§
Source§impl<'input> AttributeKind<'input>
impl<'input> AttributeKind<'input>
pub fn token_meta<'a>(&'a self) -> &'a TokenMetadata<'input>
Trait Implementations§
Source§impl<'input> Clone for AttributeKind<'input>
impl<'input> Clone for AttributeKind<'input>
Source§fn clone(&self) -> AttributeKind<'input>
fn clone(&self) -> AttributeKind<'input>
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 moreAuto Trait Implementations§
impl<'input> Freeze for AttributeKind<'input>
impl<'input> RefUnwindSafe for AttributeKind<'input>
impl<'input> Send for AttributeKind<'input>
impl<'input> Sync for AttributeKind<'input>
impl<'input> Unpin for AttributeKind<'input>
impl<'input> UnwindSafe for AttributeKind<'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