Struct glsl::syntax::CompoundStatement
source · pub struct CompoundStatement {
pub statement_list: Vec<Statement>,
}
Expand description
Compound statement (with no new scope).
Fields§
§statement_list: Vec<Statement>
Trait Implementations§
source§impl Clone for CompoundStatement
impl Clone for CompoundStatement
source§fn clone(&self) -> CompoundStatement
fn clone(&self) -> CompoundStatement
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 CompoundStatement
impl Debug for CompoundStatement
source§impl FromIterator<Statement> for CompoundStatement
impl FromIterator<Statement> for CompoundStatement
source§impl Host for CompoundStatement
impl Host for CompoundStatement
source§impl HostMut for CompoundStatement
impl HostMut for CompoundStatement
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 Parse for CompoundStatement
impl Parse for CompoundStatement
source§impl PartialEq for CompoundStatement
impl PartialEq for CompoundStatement
source§fn eq(&self, other: &CompoundStatement) -> bool
fn eq(&self, other: &CompoundStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CompoundStatement
Auto Trait Implementations§
impl RefUnwindSafe for CompoundStatement
impl Send for CompoundStatement
impl Sync for CompoundStatement
impl Unpin for CompoundStatement
impl UnwindSafe for CompoundStatement
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