Struct glsl::syntax::PreprocessorVersion
[−]
[src]
pub struct PreprocessorVersion { pub version: u16, pub profile: Option<PreprocessorVersionProfile>, }
A #version preprocessor command.
Fields
version: u16
profile: Option<PreprocessorVersionProfile>
Trait Implementations
impl Clone for PreprocessorVersion
[src]
fn clone(&self) -> PreprocessorVersion
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for PreprocessorVersion
[src]
impl PartialEq for PreprocessorVersion
[src]
fn eq(&self, __arg_0: &PreprocessorVersion) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PreprocessorVersion) -> bool
[src]
This method tests for !=
.