Struct glsl::syntax::ArrayedIdentifier [−][src]
pub struct ArrayedIdentifier { pub ident: Identifier, pub array_spec: Option<ArraySpecifier>, }
An identifier with an optional array specifier.
Fields
ident: Identifier
array_spec: Option<ArraySpecifier>
Implementations
impl ArrayedIdentifier
[src]
impl ArrayedIdentifier
[src]pub fn new<I, AS>(ident: I, array_spec: AS) -> Self where
I: Into<Identifier>,
AS: Into<Option<ArraySpecifier>>,
[src]
I: Into<Identifier>,
AS: Into<Option<ArraySpecifier>>,
Trait Implementations
impl Clone for ArrayedIdentifier
[src]
impl Clone for ArrayedIdentifier
[src]fn clone(&self) -> ArrayedIdentifier
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<Identifier> for ArrayedIdentifier
[src]
impl From<Identifier> for ArrayedIdentifier
[src]fn from(ident: Identifier) -> Self
[src]
impl PartialEq<ArrayedIdentifier> for ArrayedIdentifier
[src]
impl PartialEq<ArrayedIdentifier> for ArrayedIdentifier
[src]