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 moresource§impl Debug for ForInitStatement
impl Debug for ForInitStatement
source§impl Host for ForInitStatement
impl Host for ForInitStatement
source§impl HostMut for ForInitStatement
impl HostMut for ForInitStatement
source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.
source§impl PartialEq for ForInitStatement
impl PartialEq for ForInitStatement
source§fn eq(&self, other: &ForInitStatement) -> bool
fn eq(&self, other: &ForInitStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ForInitStatement
Auto Trait Implementations§
impl RefUnwindSafe for ForInitStatement
impl Send for ForInitStatement
impl Sync for ForInitStatement
impl Unpin for ForInitStatement
impl UnwindSafe for ForInitStatement
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more