pub struct SeparatedBy<P, T> { /* private fields */ }Expand description
Parsable type that repeatedly and alternatingly invokes a sub-parser and consumes a punctuation token.
Trait Implementations§
Source§impl<S, P, T> Parse<S> for SeparatedBy<P, [T; 16]>where
S: TokenStream,
P: Separator,
T: Parse<S>,
impl<S, P, T> Parse<S> for SeparatedBy<P, [T; 16]>where
S: TokenStream,
P: Separator,
T: Parse<S>,
Source§impl<S, P, T> Parse<S> for SeparatedBy<P, [T; 6]>where
S: TokenStream,
P: Separator,
T: Parse<S>,
impl<S, P, T> Parse<S> for SeparatedBy<P, [T; 6]>where
S: TokenStream,
P: Separator,
T: Parse<S>,
Source§impl<S, P, A, B> Parse<S> for SeparatedBy<P, (A, B)>
impl<S, P, A, B> Parse<S> for SeparatedBy<P, (A, B)>
Source§impl<S, P, A, B, C> Parse<S> for SeparatedBy<P, (A, B, C)>
impl<S, P, A, B, C> Parse<S> for SeparatedBy<P, (A, B, C)>
Source§impl<S, P, A, B, C, D> Parse<S> for SeparatedBy<P, (A, B, C, D)>
impl<S, P, A, B, C, D> Parse<S> for SeparatedBy<P, (A, B, C, D)>
Source§impl<S, P, A, B, C, D, E> Parse<S> for SeparatedBy<P, (A, B, C, D, E)>
impl<S, P, A, B, C, D, E> Parse<S> for SeparatedBy<P, (A, B, C, D, E)>
Auto Trait Implementations§
impl<P, T> Freeze for SeparatedBy<P, T>
impl<P, T> RefUnwindSafe for SeparatedBy<P, T>where
P: RefUnwindSafe,
T: RefUnwindSafe,
impl<P, T> Send for SeparatedBy<P, T>
impl<P, T> Sync for SeparatedBy<P, T>
impl<P, T> Unpin for SeparatedBy<P, T>
impl<P, T> UnwindSafe for SeparatedBy<P, T>where
P: UnwindSafe,
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