Struct glsl::syntax::FunctionDefinition
source · pub struct FunctionDefinition {
pub prototype: FunctionPrototype,
pub statement: CompoundStatement,
}
Expand description
Function definition.
Fields§
§prototype: FunctionPrototype
§statement: CompoundStatement
Trait Implementations§
source§impl Clone for FunctionDefinition
impl Clone for FunctionDefinition
source§fn clone(&self) -> FunctionDefinition
fn clone(&self) -> FunctionDefinition
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