pub struct Skip;Expand description
Discards the first N tokens from the stream.
The argument must be a valid integer literal, e.g., [[ 2 ]].
Trait Implementations§
Source§impl Ord for Skip
impl Ord for Skip
Source§impl PartialOrd for Skip
impl PartialOrd for Skip
Source§impl Transformer for Skip
impl Transformer for Skip
Source§fn transform(
&mut self,
input: TokenStream,
argument: TokenStream,
) -> Result<TokenStream, Error>
fn transform( &mut self, input: TokenStream, argument: TokenStream, ) -> Result<TokenStream, Error>
Transforms an input token stream into an output one. Read more
impl Copy for Skip
impl Eq for Skip
impl StructuralPartialEq for Skip
Auto Trait Implementations§
impl Freeze for Skip
impl RefUnwindSafe for Skip
impl Send for Skip
impl Sync for Skip
impl Unpin for Skip
impl UnsafeUnpin for Skip
impl UnwindSafe for Skip
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