Struct glsl::syntax::Block
[−]
[src]
pub struct Block { pub qualifier: TypeQualifier, pub name: Identifier, pub fields: Vec<StructFieldSpecifier>, pub identifier: Option<(Identifier, Option<ArraySpecifier>)>, }
A general purpose block, containing fields and possibly a list of declared identifiers. Semantic is given with the storage qualifier.
Fields
qualifier: TypeQualifier
name: Identifier
fields: Vec<StructFieldSpecifier>
identifier: Option<(Identifier, Option<ArraySpecifier>)>
Trait Implementations
impl Clone for Block
[src]
fn clone(&self) -> Block
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more