Struct glsl::syntax::PreprocessorExtension
source · pub struct PreprocessorExtension {
pub name: PreprocessorExtensionName,
pub behavior: Option<PreprocessorExtensionBehavior>,
}
Expand description
An #extension preprocessor command.
Fields§
§name: PreprocessorExtensionName
§behavior: Option<PreprocessorExtensionBehavior>
Trait Implementations§
source§impl Clone for PreprocessorExtension
impl Clone for PreprocessorExtension
source§fn clone(&self) -> PreprocessorExtension
fn clone(&self) -> PreprocessorExtension
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