Struct glsl::syntax::FunctionDefinition [−][src]
pub struct FunctionDefinition { pub prototype: FunctionPrototype, pub statement: CompoundStatement, }
Function definition.
Fields
prototype: FunctionPrototype
statement: CompoundStatement
Trait Implementations
impl Clone for FunctionDefinition
[src]
impl Clone for FunctionDefinition
fn clone(&self) -> FunctionDefinition
[src]
fn clone(&self) -> FunctionDefinition
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 FunctionDefinition
[src]
impl Debug for FunctionDefinition
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 FunctionDefinition
[src]
impl PartialEq for FunctionDefinition
fn eq(&self, other: &FunctionDefinition) -> bool
[src]
fn eq(&self, other: &FunctionDefinition) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FunctionDefinition) -> bool
[src]
fn ne(&self, other: &FunctionDefinition) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for FunctionDefinition
impl Send for FunctionDefinition
impl Sync for FunctionDefinition
impl Sync for FunctionDefinition