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

Trait Implementations

impl Clone for Block
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Block
[src]

Formats the value using the given formatter.

impl PartialEq for Block
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.