Struct devise::syn::BareVariadic
source · pub struct BareVariadic {
pub attrs: Vec<Attribute, Global>,
pub name: Option<(Ident, Colon)>,
pub dots: DotDotDot,
pub comma: Option<Comma>,
}Expand description
The variadic argument of a function pointer like fn(usize, ...).
Fields§
§attrs: Vec<Attribute, Global>§name: Option<(Ident, Colon)>§dots: DotDotDot§comma: Option<Comma>Trait Implementations§
source§impl Clone for BareVariadic
impl Clone for BareVariadic
source§fn clone(&self) -> BareVariadic
fn clone(&self) -> BareVariadic
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 BareVariadic
impl Debug for BareVariadic
source§impl Hash for BareVariadic
impl Hash for BareVariadic
source§impl PartialEq<BareVariadic> for BareVariadic
impl PartialEq<BareVariadic> for BareVariadic
source§fn eq(&self, other: &BareVariadic) -> bool
fn eq(&self, other: &BareVariadic) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ToTokens for BareVariadic
impl ToTokens for BareVariadic
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 BareVariadic
Auto Trait Implementations§
impl RefUnwindSafe for BareVariadic
impl !Send for BareVariadic
impl !Sync for BareVariadic
impl Unpin for BareVariadic
impl UnwindSafe for BareVariadic
Blanket Implementations§
source§impl<T> AstItemExt for Twhere
T: ToTokens,
impl<T> AstItemExt for Twhere T: ToTokens,
fn respanned(&self, span: Span) -> Twhere T: Parse,
fn respanned_tokens(&self, span: Span) -> TokenStream
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> 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.