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 PreprocessorVersionfn clone(&self) -> PreprocessorVersion[src]
fn clone(&self) -> PreprocessorVersionReturns 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 PreprocessorVersionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for PreprocessorVersion[src]
impl PartialEq for PreprocessorVersionfn eq(&self, other: &PreprocessorVersion) -> bool[src]
fn eq(&self, other: &PreprocessorVersion) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for PreprocessorVersion
impl Send for PreprocessorVersionimpl Sync for PreprocessorVersion
impl Sync for PreprocessorVersion