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 for PreprocessorLine
impl PartialEq 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 ==
.impl StructuralPartialEq for PreprocessorLine
Auto Trait Implementations§
impl RefUnwindSafe for PreprocessorLine
impl Send for PreprocessorLine
impl Sync for PreprocessorLine
impl Unpin for PreprocessorLine
impl UnwindSafe for PreprocessorLine
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more