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