Struct glsl::syntax::SingleDeclaration
source · pub struct SingleDeclaration {
pub ty: FullySpecifiedType,
pub name: Option<Identifier>,
pub array_specifier: Option<ArraySpecifier>,
pub initializer: Option<Initializer>,
}
Expand description
Single declaration.
Fields§
§ty: FullySpecifiedType
§name: Option<Identifier>
§array_specifier: Option<ArraySpecifier>
§initializer: Option<Initializer>
Trait Implementations§
source§impl Clone for SingleDeclaration
impl Clone for SingleDeclaration
source§fn clone(&self) -> SingleDeclaration
fn clone(&self) -> SingleDeclaration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more