pub struct post_return(pub Span);

Tuple Fields

0: Span

Trait Implementations

source

impl Clone for post_return

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

source

impl Debug for post_return

Formats the value using the given formatter. Read more

source

impl<'a> Parse<'a> for post_return

Attempts to parse Self from parser, returning an error if it could not be parsed. Read more

source

impl Peek for post_return

Tests to see whether this token is the first token within the Cursor specified. Read more

Returns a human-readable name of this token to display when generating errors about this token missing. Read more

The same as peek, except it checks the token immediately following the current token. Read more

source

impl Copy for post_return

Auto Trait Implementations

Blanket Implementations

source

impl<T> Any for T where
    T: 'static + ?Sized

Gets the TypeId of self. Read more

source

impl<T> Borrow<T> for T where
    T: ?Sized

Immutably borrows from an owned value. Read more

source

impl<T> BorrowMut<T> for T where
    T: ?Sized

Mutably borrows from an owned value. Read more

source

impl<T> From<T> for T

Returns the argument unchanged.

source

impl<T, U> Into<U> for T where
    U: From<T>, 

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source

impl<T> ToOwned for T where
    T: Clone

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

source

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

The type returned in the event of a conversion error.

Performs the conversion.

source

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

The type returned in the event of a conversion error.

Performs the conversion.