Struct macro_tools::quantifier::orphan::Many
source · pub struct Many<T: ToTokens>(pub Vec<T>);
Expand description
Parse as much elements as possible.
Tuple Fields§
§0: Vec<T>
Implementations§
Trait Implementations§
source§impl<'a, T> IntoIterator for &'a Many<T>where
T: ToTokens,
impl<'a, T> IntoIterator for &'a Many<T>where
T: ToTokens,
source§impl<T> IntoIterator for Many<T>where
T: ToTokens,
impl<T> IntoIterator for Many<T>where
T: ToTokens,
source§impl Parse for Many<AttributesInner>
impl Parse for Many<AttributesInner>
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl Parse for Many<AttributesOuter>
impl Parse for Many<AttributesOuter>
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl<T> Parse for Many<T>where
T: Element + Parse + AsMuchAsPossibleNoDelimiter,
impl<T> Parse for Many<T>where
T: Element + Parse + AsMuchAsPossibleNoDelimiter,
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl<T: PartialEq + ToTokens> PartialEq for Many<T>
impl<T: PartialEq + ToTokens> PartialEq for Many<T>
source§impl<T> ToTokens for Many<T>where
T: Element + ToTokens,
impl<T> ToTokens for Many<T>where
T: Element + ToTokens,
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<T: Eq + ToTokens> Eq for Many<T>
impl<T: ToTokens> StructuralPartialEq for Many<T>
Auto Trait Implementations§
impl<T> Freeze for Many<T>
impl<T> RefUnwindSafe for Many<T>where
T: RefUnwindSafe,
impl<T> Send for Many<T>where
T: Send,
impl<T> Sync for Many<T>where
T: Sync,
impl<T> Unpin for Many<T>where
T: Unpin,
impl<T> UnwindSafe for Many<T>where
T: UnwindSafe,
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> 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.