Enum glsl::syntax::PreprocessorDefine [−][src]
pub enum PreprocessorDefine { ObjectLike { ident: Identifier, value: String, }, FunctionLike { ident: Identifier, args: Vec<Identifier>, value: String, }, }
A #define preprocessor directive.
Allows any expression but only Integer and Float literals make sense
Variants
Show fields
Fields of ObjectLike
ident: Identifier
value: String
Show fields
Fields of FunctionLike
Trait Implementations
impl Clone for PreprocessorDefine
[src]
impl Clone for PreprocessorDefine
[src]fn clone(&self) -> PreprocessorDefine
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Host for PreprocessorDefine
[src]
impl Host for PreprocessorDefine
[src]impl PartialEq<PreprocessorDefine> for PreprocessorDefine
[src]
impl PartialEq<PreprocessorDefine> for PreprocessorDefine
[src]