Struct glsl::syntax::TypeSpecifier [−][src]
pub struct TypeSpecifier { pub ty: TypeSpecifierNonArray, pub array_specifier: Option<ArraySpecifier>, }
Type specifier.
Fields
ty: TypeSpecifierNonArray
array_specifier: Option<ArraySpecifier>
Implementations
impl TypeSpecifier
[src]
impl TypeSpecifier
[src]pub fn new(ty: TypeSpecifierNonArray) -> Self
[src]
Trait Implementations
impl Clone for TypeSpecifier
[src]
impl Clone for TypeSpecifier
[src]fn clone(&self) -> TypeSpecifier
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<TypeSpecifierNonArray> for TypeSpecifier
[src]
impl From<TypeSpecifierNonArray> for TypeSpecifier
[src]fn from(ty: TypeSpecifierNonArray) -> Self
[src]
impl Parse for TypeSpecifier
[src]
impl Parse for TypeSpecifier
[src]impl PartialEq<TypeSpecifier> for TypeSpecifier
[src]
impl PartialEq<TypeSpecifier> for TypeSpecifier
[src]