Struct glsl::syntax::SingleDeclarationNoType [−][src]
pub struct SingleDeclarationNoType { pub name: Identifier, pub array_specifier: Option<ArraySpecifier>, pub initializer: Option<Initializer>, }
A single declaration with implicit, already-defined type.
Fields
name: Identifier
array_specifier: Option<ArraySpecifier>
initializer: Option<Initializer>
Trait Implementations
impl Clone for SingleDeclarationNoType
[src]
impl Clone for SingleDeclarationNoType
fn clone(&self) -> SingleDeclarationNoType
[src]
fn clone(&self) -> SingleDeclarationNoType
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 SingleDeclarationNoType
[src]
impl Debug for SingleDeclarationNoType
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 SingleDeclarationNoType
[src]
impl PartialEq for SingleDeclarationNoType
fn eq(&self, other: &SingleDeclarationNoType) -> bool
[src]
fn eq(&self, other: &SingleDeclarationNoType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SingleDeclarationNoType) -> bool
[src]
fn ne(&self, other: &SingleDeclarationNoType) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for SingleDeclarationNoType
impl Send for SingleDeclarationNoType
impl Sync for SingleDeclarationNoType
impl Sync for SingleDeclarationNoType