Enum glsl::syntax::PreprocessorExtensionName
source · pub enum PreprocessorExtensionName {
All,
Specific(String),
}
Expand description
An #extension name annotation.
Variants§
All
All extensions you could ever imagine in your whole lifetime (how crazy is that!).
Specific(String)
A specific extension.
Trait Implementations§
source§impl Clone for PreprocessorExtensionName
impl Clone for PreprocessorExtensionName
source§fn clone(&self) -> PreprocessorExtensionName
fn clone(&self) -> PreprocessorExtensionName
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 PreprocessorExtensionName
impl Debug for PreprocessorExtensionName
source§impl Host for PreprocessorExtensionName
impl Host for PreprocessorExtensionName
source§impl HostMut for PreprocessorExtensionName
impl HostMut for PreprocessorExtensionName
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 PreprocessorExtensionName
impl Parse for PreprocessorExtensionName
source§impl PartialEq for PreprocessorExtensionName
impl PartialEq for PreprocessorExtensionName
source§fn eq(&self, other: &PreprocessorExtensionName) -> bool
fn eq(&self, other: &PreprocessorExtensionName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PreprocessorExtensionName
Auto Trait Implementations§
impl RefUnwindSafe for PreprocessorExtensionName
impl Send for PreprocessorExtensionName
impl Sync for PreprocessorExtensionName
impl Unpin for PreprocessorExtensionName
impl UnwindSafe for PreprocessorExtensionName
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