Struct glsl::syntax::PreprocessorDefine
source · pub struct PreprocessorDefine {
pub name: Identifier,
pub value: Expr,
}
Expand description
A #define preprocessor command. Allows any expression but only Integer and Float literals make sense
Fields§
§name: Identifier
§value: Expr
Trait Implementations§
source§impl Clone for PreprocessorDefine
impl Clone for PreprocessorDefine
source§fn clone(&self) -> PreprocessorDefine
fn clone(&self) -> PreprocessorDefine
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