Enum glsl::syntax::Declaration
source · pub enum Declaration {
FunctionPrototype(FunctionPrototype),
InitDeclaratorList(InitDeclaratorList),
Precision(PrecisionQualifier, TypeSpecifier),
Block(Block),
Global(TypeQualifier, Vec<Identifier>),
}
Expand description
A declaration.
Variants§
FunctionPrototype(FunctionPrototype)
InitDeclaratorList(InitDeclaratorList)
Precision(PrecisionQualifier, TypeSpecifier)
Block(Block)
Global(TypeQualifier, Vec<Identifier>)
Trait Implementations§
source§impl Clone for Declaration
impl Clone for Declaration
source§fn clone(&self) -> Declaration
fn clone(&self) -> Declaration
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