Enum glsl::syntax::ForInitStatement [−][src]
pub enum ForInitStatement { Expression(Option<Expr>), Declaration(Box<Declaration>), }
For init statement.
Variants
Expression(Option<Expr>)
Declaration(Box<Declaration>)
Trait Implementations
impl Clone for ForInitStatement
[src]
impl Clone for ForInitStatement
fn clone(&self) -> ForInitStatement
[src]
fn clone(&self) -> ForInitStatement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ForInitStatement
[src]
impl Debug for ForInitStatement
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ForInitStatement
[src]
impl PartialEq for ForInitStatement
fn eq(&self, other: &ForInitStatement) -> bool
[src]
fn eq(&self, other: &ForInitStatement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ForInitStatement) -> bool
[src]
fn ne(&self, other: &ForInitStatement) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ForInitStatement
impl Send for ForInitStatement
impl Sync for ForInitStatement
impl Sync for ForInitStatement