Struct rune::ast::ExprElseIf[][src]

pub struct ExprElseIf {
    pub else_: Else,
    pub if_: If,
    pub condition: Condition,
    pub block: Box<Block>,
}

An else branch of an if expression.

Fields

else_: Else

The else token.

if_: If

The if token.

condition: Condition

The condition for the branch.

block: Box<Block>

The body of the else statement.

Trait Implementations

impl Clone for ExprElseIf[src]

impl Debug for ExprElseIf[src]

impl Eq for ExprElseIf[src]

impl Parse for ExprElseIf[src]

impl PartialEq<ExprElseIf> for ExprElseIf[src]

impl Peek for ExprElseIf[src]

impl Spanned for ExprElseIf[src]

impl StructuralEq for ExprElseIf[src]

impl StructuralPartialEq for ExprElseIf[src]

impl ToTokens for ExprElseIf[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.