Enum glsl::syntax::ForInitStatement
source · pub enum ForInitStatement {
Expression(Option<Expr>),
Declaration(Box<Declaration>),
}
Expand description
For init statement.
Variants§
Trait Implementations§
source§impl Clone for ForInitStatement
impl Clone for ForInitStatement
source§fn clone(&self) -> ForInitStatement
fn clone(&self) -> ForInitStatement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more