Enum glsl::syntax::Declaration [−][src]
pub enum Declaration { FunctionPrototype(FunctionPrototype), InitDeclaratorList(InitDeclaratorList), Precision(PrecisionQualifier, TypeSpecifier), Block(Block), Global(TypeQualifier, Vec<Identifier>), }
A declaration.
Variants
FunctionPrototype(FunctionPrototype)
InitDeclaratorList(InitDeclaratorList)
Precision(PrecisionQualifier, TypeSpecifier)
Block(Block)
Global(TypeQualifier, Vec<Identifier>)
Trait Implementations
impl Clone for Declaration
[src]
impl Clone for Declaration
fn clone(&self) -> Declaration
[src]
fn clone(&self) -> Declaration
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 Declaration
[src]
impl Debug for Declaration
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 Declaration
[src]
impl PartialEq for Declaration
fn eq(&self, other: &Declaration) -> bool
[src]
fn eq(&self, other: &Declaration) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Declaration) -> bool
[src]
fn ne(&self, other: &Declaration) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for Declaration
impl Send for Declaration
impl Sync for Declaration
impl Sync for Declaration