[−][src]Struct luaparse::ast::ReturnStat
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]
fn descend_mut<T: VisitorMut<'a>>(&mut self, visitor: &mut T)
[src]
impl<'a> Clone for ReturnStat<'a>
[src]
fn clone(&self) -> ReturnStat<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,