Enum glsl::syntax::LayoutQualifierSpec
source · pub enum LayoutQualifierSpec {
Identifier(Identifier, Option<Box<Expr>>),
Shared,
}
Expand description
Layout qualifier spec.
Variants§
Identifier(Identifier, Option<Box<Expr>>)
Trait Implementations§
source§impl Clone for LayoutQualifierSpec
impl Clone for LayoutQualifierSpec
source§fn clone(&self) -> LayoutQualifierSpec
fn clone(&self) -> LayoutQualifierSpec
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 LayoutQualifierSpec
impl Debug for LayoutQualifierSpec
source§impl Host for LayoutQualifierSpec
impl Host for LayoutQualifierSpec
source§impl HostMut for LayoutQualifierSpec
impl HostMut for LayoutQualifierSpec
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 LayoutQualifierSpec
impl PartialEq for LayoutQualifierSpec
source§fn eq(&self, other: &LayoutQualifierSpec) -> bool
fn eq(&self, other: &LayoutQualifierSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LayoutQualifierSpec
Auto Trait Implementations§
impl RefUnwindSafe for LayoutQualifierSpec
impl Send for LayoutQualifierSpec
impl Sync for LayoutQualifierSpec
impl Unpin for LayoutQualifierSpec
impl UnwindSafe for LayoutQualifierSpec
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