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]
impl Clone for Block
fn clone(&self) -> Block
[src]
fn clone(&self) -> Block
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 Block
[src]
impl Debug for Block
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 Block
[src]
impl PartialEq for Block