Struct rune::ast::ExprElse[][src]

pub struct ExprElse {
    pub else_: Else,
    pub block: Box<Block>,
}

An else branch of an if expression.

Fields

else_: Else

The else token.

block: Box<Block>

The body of the else statement.

Trait Implementations

impl Clone for ExprElse[src]

impl Debug for ExprElse[src]

impl Eq for ExprElse[src]

impl Parse for ExprElse[src]

impl PartialEq<ExprElse> for ExprElse[src]

impl Peek for ExprElse[src]

impl Spanned for ExprElse[src]

impl StructuralEq for ExprElse[src]

impl StructuralPartialEq for ExprElse[src]

impl ToTokens for ExprElse[src]

Auto Trait Implementations

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, 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.