Struct glsl::syntax::ArrayedIdentifier
source · pub struct ArrayedIdentifier {
pub ident: Identifier,
pub array_spec: Option<ArraySpecifier>,
}
Expand description
An identifier with an optional array specifier.
Fields§
§ident: Identifier
§array_spec: Option<ArraySpecifier>
Implementations§
source§impl ArrayedIdentifier
impl ArrayedIdentifier
Trait Implementations§
source§impl Clone for ArrayedIdentifier
impl Clone for ArrayedIdentifier
source§fn clone(&self) -> ArrayedIdentifier
fn clone(&self) -> ArrayedIdentifier
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 ArrayedIdentifier
impl Debug for ArrayedIdentifier
source§impl<'a> From<&'a str> for ArrayedIdentifier
impl<'a> From<&'a str> for ArrayedIdentifier
source§impl From<Identifier> for ArrayedIdentifier
impl From<Identifier> for ArrayedIdentifier
source§fn from(ident: Identifier) -> Self
fn from(ident: Identifier) -> Self
Converts to this type from the input type.
source§impl Host for ArrayedIdentifier
impl Host for ArrayedIdentifier
source§impl HostMut for ArrayedIdentifier
impl HostMut for ArrayedIdentifier
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 ArrayedIdentifier
impl PartialEq for ArrayedIdentifier
source§fn eq(&self, other: &ArrayedIdentifier) -> bool
fn eq(&self, other: &ArrayedIdentifier) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ArrayedIdentifier
Auto Trait Implementations§
impl RefUnwindSafe for ArrayedIdentifier
impl Send for ArrayedIdentifier
impl Sync for ArrayedIdentifier
impl Unpin for ArrayedIdentifier
impl UnwindSafe for ArrayedIdentifier
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