Struct glsl::syntax::PreprocessorIf
source · pub struct PreprocessorIf {
pub condition: String,
}
Expand description
An #if preprocessor directive.
Fields§
§condition: String
Trait Implementations§
source§impl Clone for PreprocessorIf
impl Clone for PreprocessorIf
source§fn clone(&self) -> PreprocessorIf
fn clone(&self) -> PreprocessorIf
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 PreprocessorIf
impl Debug for PreprocessorIf
source§impl Host for PreprocessorIf
impl Host for PreprocessorIf
source§impl HostMut for PreprocessorIf
impl HostMut for PreprocessorIf
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 PreprocessorIf
impl PartialEq for PreprocessorIf
source§fn eq(&self, other: &PreprocessorIf) -> bool
fn eq(&self, other: &PreprocessorIf) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PreprocessorIf
Auto Trait Implementations§
impl RefUnwindSafe for PreprocessorIf
impl Send for PreprocessorIf
impl Sync for PreprocessorIf
impl Unpin for PreprocessorIf
impl UnwindSafe for PreprocessorIf
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