Struct glsl::syntax::ForRestStatement
source · pub struct ForRestStatement {
pub condition: Option<Condition>,
pub post_expr: Option<Box<Expr>>,
}
Expand description
For init statement.
Fields§
§condition: Option<Condition>
§post_expr: Option<Box<Expr>>
Trait Implementations§
source§impl Clone for ForRestStatement
impl Clone for ForRestStatement
source§fn clone(&self) -> ForRestStatement
fn clone(&self) -> ForRestStatement
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 ForRestStatement
impl Debug for ForRestStatement
source§impl Host for ForRestStatement
impl Host for ForRestStatement
source§impl HostMut for ForRestStatement
impl HostMut for ForRestStatement
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 ForRestStatement
impl PartialEq for ForRestStatement
source§fn eq(&self, other: &ForRestStatement) -> bool
fn eq(&self, other: &ForRestStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ForRestStatement
Auto Trait Implementations§
impl RefUnwindSafe for ForRestStatement
impl Send for ForRestStatement
impl Sync for ForRestStatement
impl Unpin for ForRestStatement
impl UnwindSafe for ForRestStatement
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