Type Alias glsl::syntax::ExprStatement

source ·
pub type ExprStatement = Option<Expr>;
Expand description

Expression statement.

Aliased Type§

enum ExprStatement {
    None,
    Some(Expr),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Expr)

Some value of type T.

Trait Implementations§

source§

impl Parse for ExprStatement

source§

fn parse<B>(source: B) -> Result<Self, ParseError>
where B: AsRef<str>,

Parse from a string slice.