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