Enum wagon_ident::Ident
source · pub enum Ident {
Inherit(String),
Synth(String),
Local(String),
Unknown(String),
}
Expand description
A valid WAGon identifier.
Variants§
Inherit(String)
An inherited attribute
Synth(String)
A synthesized attribute
Local(String)
A local attribute
Unknown(String)
Either an attribute that we do not yet know the scope of, or an identifier used for another purpose.
Implementations§
Trait Implementations§
source§impl Ord for Ident
impl Ord for Ident
source§impl PartialEq for Ident
impl PartialEq for Ident
source§impl PartialOrd for Ident
impl PartialOrd for Ident
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToTokens for Ident
impl ToTokens for Ident
source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for Ident
impl StructuralPartialEq for Ident
Auto Trait Implementations§
impl Freeze for Ident
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnwindSafe for Ident
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