[][src]Struct luaparse::ast::ReturnStat

pub struct ReturnStat<'a> {
    pub return_: TokenReference<'a>,
    pub exprs: Punctuated<'a, Box<Expr<'a>>>,
    pub semi: Option<TokenReference<'a>>,
}

A return statement.

Fields

return_: TokenReference<'a>

A reference to the Symbol::Return token.

exprs: Punctuated<'a, Box<Expr<'a>>>

A list of returned expressions.

semi: Option<TokenReference<'a>>

The semicolon that may follow the return statement.

Trait Implementations

impl<'a> AstDescend<'a> for ReturnStat<'a>[src]

impl<'a> Clone for ReturnStat<'a>[src]

impl<'a> Debug for ReturnStat<'a>[src]

impl<'_> Display for ReturnStat<'_>[src]

impl<'_> HasSpan for ReturnStat<'_>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ReturnStat<'a>

impl<'a> Send for ReturnStat<'a>

impl<'a> Sync for ReturnStat<'a>

impl<'a> Unpin for ReturnStat<'a>

impl<'a> UnwindSafe for ReturnStat<'a>

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.