[][src]Enum yolk::ast::YololStmt

pub enum YololStmt {
    Assign {
        ident: String,
        expr: Box<YololExpr>,
    },
}

Represents a Yolol statement.

Variants

Assign

Fields of Assign

ident: Stringexpr: Box<YololExpr>

Trait Implementations

impl Clone for YololStmt[src]

impl PartialEq<YololStmt> for YololStmt[src]

impl Display for YololStmt[src]

fn fmt(&self, f: &mut Formatter) -> Result[src]

Formats a Yolol statement as a string.

impl Debug for YololStmt[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for T[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.

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

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

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