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
ty: FullySpecifiedType
name: Option<Identifier>
array_specifier: Option<ArraySpecifier>
initializer: Option<Initializer>
Trait Implementations
impl Clone for SingleDeclaration
[src]
fn clone(&self) -> SingleDeclaration
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
impl Debug for SingleDeclaration
[src]
impl PartialEq for SingleDeclaration
[src]
fn eq(&self, __arg_0: &SingleDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SingleDeclaration) -> bool
This method tests for !=
.