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