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