Struct glsl::syntax::PreprocessorLine
source · pub struct PreprocessorLine {
pub line: u32,
pub source_string_number: Option<u32>,
}
Expand description
A #line preprocessor directive.
Fields§
§line: u32
§source_string_number: Option<u32>
Trait Implementations§
source§impl Clone for PreprocessorLine
impl Clone for PreprocessorLine
source§fn clone(&self) -> PreprocessorLine
fn clone(&self) -> PreprocessorLine
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 moresource§impl Debug for PreprocessorLine
impl Debug for PreprocessorLine
source§impl Host for PreprocessorLine
impl Host for PreprocessorLine
source§impl HostMut for PreprocessorLine
impl HostMut for PreprocessorLine
source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where V: VisitorMut,
Visit an AST node.
source§impl PartialEq<PreprocessorLine> for PreprocessorLine
impl PartialEq<PreprocessorLine> for PreprocessorLine
source§fn eq(&self, other: &PreprocessorLine) -> bool
fn eq(&self, other: &PreprocessorLine) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.