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