Struct glsl::syntax::ArraySpecifier
source · pub struct ArraySpecifier {
pub dimensions: NonEmpty<ArraySpecifierDimension>,
}
Expand description
Dimensionality of an array.
Fields§
§dimensions: NonEmpty<ArraySpecifierDimension>
List of all the dimensions – possibly unsized or explicitly-sized.
Trait Implementations§
source§impl Clone for ArraySpecifier
impl Clone for ArraySpecifier
source§fn clone(&self) -> ArraySpecifier
fn clone(&self) -> ArraySpecifier
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 ArraySpecifier
impl Debug for ArraySpecifier
source§impl Host for ArraySpecifier
impl Host for ArraySpecifier
source§impl HostMut for ArraySpecifier
impl HostMut for ArraySpecifier
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 ArraySpecifier
impl Parse for ArraySpecifier
source§impl PartialEq for ArraySpecifier
impl PartialEq for ArraySpecifier
source§fn eq(&self, other: &ArraySpecifier) -> bool
fn eq(&self, other: &ArraySpecifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ArraySpecifier
Auto Trait Implementations§
impl RefUnwindSafe for ArraySpecifier
impl Send for ArraySpecifier
impl Sync for ArraySpecifier
impl Unpin for ArraySpecifier
impl UnwindSafe for ArraySpecifier
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