Struct glsl::syntax::PreprocessorVersion
source · pub struct PreprocessorVersion {
pub version: u16,
pub profile: Option<PreprocessorVersionProfile>,
}
Expand description
A #version preprocessor command.
Fields§
§version: u16
§profile: Option<PreprocessorVersionProfile>
Trait Implementations§
source§impl Clone for PreprocessorVersion
impl Clone for PreprocessorVersion
source§fn clone(&self) -> PreprocessorVersion
fn clone(&self) -> PreprocessorVersion
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