Struct glsl::syntax::FullySpecifiedType
source · pub struct FullySpecifiedType {
pub qualifier: Option<TypeQualifier>,
pub ty: TypeSpecifier,
}
Expand description
Fully specified type.
Fields§
§qualifier: Option<TypeQualifier>
§ty: TypeSpecifier
Implementations§
source§impl FullySpecifiedType
impl FullySpecifiedType
pub fn new(ty: TypeSpecifierNonArray) -> Self
Trait Implementations§
source§impl Clone for FullySpecifiedType
impl Clone for FullySpecifiedType
source§fn clone(&self) -> FullySpecifiedType
fn clone(&self) -> FullySpecifiedType
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 FullySpecifiedType
impl Debug for FullySpecifiedType
source§impl From<TypeSpecifierNonArray> for FullySpecifiedType
impl From<TypeSpecifierNonArray> for FullySpecifiedType
source§fn from(ty: TypeSpecifierNonArray) -> Self
fn from(ty: TypeSpecifierNonArray) -> Self
Converts to this type from the input type.