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