pub struct PopRight;Expand description
Removes the last token tree from the stream (useful for trailing commas).
Trait Implementations§
Source§impl Ord for PopRight
impl Ord for PopRight
Source§impl PartialOrd for PopRight
impl PartialOrd for PopRight
Source§impl Transformer for PopRight
impl Transformer for PopRight
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 PopRight
impl Eq for PopRight
impl StructuralPartialEq for PopRight
Auto Trait Implementations§
impl Freeze for PopRight
impl RefUnwindSafe for PopRight
impl Send for PopRight
impl Sync for PopRight
impl Unpin for PopRight
impl UnsafeUnpin for PopRight
impl UnwindSafe for PopRight
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