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]
impl Clone for SingleDeclaration
fn clone(&self) -> SingleDeclaration
[src]
fn clone(&self) -> SingleDeclaration
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 SingleDeclaration
[src]
impl Debug for SingleDeclaration
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 SingleDeclaration
[src]
impl PartialEq for SingleDeclaration
fn eq(&self, other: &SingleDeclaration) -> bool
[src]
fn eq(&self, other: &SingleDeclaration) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SingleDeclaration) -> bool
[src]
fn ne(&self, other: &SingleDeclaration) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SingleDeclaration
impl Send for SingleDeclaration
impl Sync for SingleDeclaration
impl Sync for SingleDeclaration