Enum glsl_lang::ast::StorageQualifierData
source · [−]pub enum StorageQualifierData {
Show 18 variants
Const,
InOut,
In,
Out,
Centroid,
Patch,
Sample,
Uniform,
Buffer,
Shared,
Coherent,
Volatile,
Restrict,
ReadOnly,
WriteOnly,
Attribute,
Varying,
Subroutine(Vec<Node<TypeSpecifierData>, Global>),
}
Expand description
Storage qualifier.
Variants
Const
const
storage qualifier
InOut
inout
storage qualifier
In
in
storage qualifier
Out
out
storage qualifier
Centroid
centroid
storage qualifier
Patch
patch
storage qualifier
Sample
sample
storage qualifier
Uniform
uniform
storage qualifier
Buffer
buffer
storage qualifier
Shared
shared
storage qualifier
Coherent
coherent
storage qualifier
Volatile
volatile
storage qualifier
Restrict
restrict
storage qualifier
ReadOnly
readonly
storage qualifier
WriteOnly
writeonly
storage qualifier
Attribute
attribute
storage qualifier
Varying
varying
storage qualifier
Subroutine(Vec<Node<TypeSpecifierData>, Global>)
subroutine
storage qualifier
Trait Implementations
sourceimpl Clone for StorageQualifierData
impl Clone for StorageQualifierData
sourcefn clone(&self) -> StorageQualifierData
fn clone(&self) -> StorageQualifierData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StorageQualifierData
impl Debug for StorageQualifierData
sourceimpl From<Node<StorageQualifierData>> for StorageQualifierData
impl From<Node<StorageQualifierData>> for StorageQualifierData
sourcefn from(node: Node<StorageQualifierData>) -> StorageQualifierData
fn from(node: Node<StorageQualifierData>) -> StorageQualifierData
Converts to this type from the input type.
sourceimpl NodeContent for StorageQualifierData
impl NodeContent for StorageQualifierData
sourcefn into_node<T>(self) -> Node<T> where
T: From<Self> + NodeContent,
fn into_node<T>(self) -> Node<T> where
T: From<Self> + NodeContent,
Convert the contents into a node
sourcefn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
fn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
Add span information to a syntax node
sourceimpl NodeContentDisplay for StorageQualifierData
impl NodeContentDisplay for StorageQualifierData
sourceimpl PartialEq<StorageQualifierData> for StorageQualifierData
impl PartialEq<StorageQualifierData> for StorageQualifierData
sourcefn eq(&self, other: &StorageQualifierData) -> bool
fn eq(&self, other: &StorageQualifierData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StorageQualifierData) -> bool
fn ne(&self, other: &StorageQualifierData) -> bool
This method tests for !=
.
impl StructuralPartialEq for StorageQualifierData
Auto Trait Implementations
impl RefUnwindSafe for StorageQualifierData
impl Send for StorageQualifierData
impl Sync for StorageQualifierData
impl Unpin for StorageQualifierData
impl UnwindSafe for StorageQualifierData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> NodeDisplay for T where
T: NodeContentDisplay,
impl<T> NodeDisplay for T where
T: NodeContentDisplay,
sourcefn display(&self) -> NodeDisplayWrapper<'_, T>
fn display(&self) -> NodeDisplayWrapper<'_, T>
Obtain a display wrapper for the current node