[][src]Struct full_moon::ast::ElseIf

pub struct ElseIf<'a> { /* fields omitted */ }

An elseif block in a bigger If statement

Methods

impl<'a> ElseIf<'a>[src]

pub fn else_if_token(&self) -> &TokenReference<'a>[src]

The elseif token

pub fn condition(&self) -> &Expression<'a>[src]

The condition of the elseif, condition in elseif condition then

pub fn then_token(&self) -> &TokenReference<'a>[src]

The then token

pub fn block(&self) -> &Block<'a>[src]

The body of the elseif

Trait Implementations

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

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

impl<'de: 'a, 'a> Deserialize<'de> for ElseIf<'a>[src]

impl<'a> Node for ElseIf<'a>[src]

impl<'a> Owned for ElseIf<'a>[src]

type Owned = ElseIf<'static>

What an owned version of the object looks like. Usually contains a 'static lifetime.

impl<'a> PartialEq<ElseIf<'a>> for ElseIf<'a>[src]

impl<'a> Serialize for ElseIf<'a>[src]

impl<'a> StructuralPartialEq for ElseIf<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ElseIf<'a>

impl<'a> Send for ElseIf<'a>

impl<'a> Sync for ElseIf<'a>

impl<'a> Unpin for ElseIf<'a>

impl<'a> !UnwindSafe for ElseIf<'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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.