pub enum IdentIndex {
Ident(Ident),
Index(Index),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IdentIndex
impl Clone for IdentIndex
Source§fn clone(&self) -> IdentIndex
fn clone(&self) -> IdentIndex
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 IdentIndex
impl Debug for IdentIndex
Source§impl From<Ident> for IdentIndex
impl From<Ident> for IdentIndex
Source§impl From<Index> for IdentIndex
impl From<Index> for IdentIndex
Source§impl Hash for IdentIndex
impl Hash for IdentIndex
Source§impl IdentFragment for IdentIndex
impl IdentFragment for IdentIndex
Source§impl Parse for IdentIndex
impl Parse for IdentIndex
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl PartialEq<str> for IdentIndex
impl PartialEq<str> for IdentIndex
Source§impl PartialEq<u32> for IdentIndex
impl PartialEq<u32> for IdentIndex
Source§impl PartialEq for IdentIndex
impl PartialEq for IdentIndex
Source§impl ToTokens for IdentIndex
impl ToTokens for IdentIndex
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,
Source§impl<'a> TryInto<&'a Ident> for &'a IdentIndex
impl<'a> TryInto<&'a Ident> for &'a IdentIndex
Source§impl<'a> TryInto<&'a Index> for &'a IdentIndex
impl<'a> TryInto<&'a Index> for &'a IdentIndex
Source§impl TryInto<Ident> for &IdentIndex
impl TryInto<Ident> for &IdentIndex
Source§impl TryInto<Ident> for IdentIndex
impl TryInto<Ident> for IdentIndex
Source§impl TryInto<Index> for &IdentIndex
impl TryInto<Index> for &IdentIndex
Source§impl TryInto<Index> for IdentIndex
impl TryInto<Index> for IdentIndex
impl Eq for IdentIndex
impl StructuralPartialEq for IdentIndex
Auto Trait Implementations§
impl Freeze for IdentIndex
impl RefUnwindSafe for IdentIndex
impl !Send for IdentIndex
impl !Sync for IdentIndex
impl Unpin for IdentIndex
impl UnwindSafe for IdentIndex
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.