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]
impl Clone for PreprocessorVersion
fn clone(&self) -> PreprocessorVersion
[src]
fn clone(&self) -> PreprocessorVersion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PreprocessorVersion
[src]
impl Debug for PreprocessorVersion
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for PreprocessorVersion
[src]
impl PartialEq for PreprocessorVersion
fn eq(&self, other: &PreprocessorVersion) -> bool
[src]
fn eq(&self, other: &PreprocessorVersion) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PreprocessorVersion) -> bool
[src]
fn ne(&self, other: &PreprocessorVersion) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PreprocessorVersion
impl Send for PreprocessorVersion
impl Sync for PreprocessorVersion
impl Sync for PreprocessorVersion