Struct glsl::syntax::SingleDeclaration [] [src]

pub struct SingleDeclaration {
    pub ty: FullySpecifiedType,
    pub name: Option<Identifier>,
    pub array_specifier: Option<ArraySpecifier>,
    pub initializer: Option<Initializer>,
}

Single declaration.

Fields

Trait Implementations

impl Clone for SingleDeclaration
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SingleDeclaration
[src]

Formats the value using the given formatter.

impl PartialEq for SingleDeclaration
[src]

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

This method tests for !=.