enum SignatureArg {
Ident(Ident),
Assign(Ident, Eq, Expr),
Star(Star),
Args(Star, Ident),
Keywords(Star, Star, Ident),
}
Variants§
Trait Implementations§
source§impl Clone for SignatureArg
impl Clone for SignatureArg
source§fn clone(&self) -> SignatureArg
fn clone(&self) -> SignatureArg
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 moresource§impl Debug for SignatureArg
impl Debug for SignatureArg
source§impl Parse for SignatureArg
impl Parse for SignatureArg
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl PartialEq for SignatureArg
impl PartialEq for SignatureArg
source§impl ToTokens for SignatureArg
impl ToTokens for SignatureArg
source§fn to_tokens(&self, tokens: &mut TokenStream2)
fn to_tokens(&self, tokens: &mut TokenStream2)
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 StructuralPartialEq for SignatureArg
Auto Trait Implementations§
impl Freeze for SignatureArg
impl RefUnwindSafe for SignatureArg
impl !Send for SignatureArg
impl !Sync for SignatureArg
impl Unpin for SignatureArg
impl UnwindSafe for SignatureArg
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Spanned for T
impl<T> Spanned for T
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.