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