Struct glsl::syntax::StructSpecifier
source · pub struct StructSpecifier {
pub name: Option<TypeName>,
pub fields: NonEmpty<StructFieldSpecifier>,
}
Expand description
Struct specifier. Used to create new, user-defined types.
Fields§
§name: Option<TypeName>
§fields: NonEmpty<StructFieldSpecifier>
Trait Implementations§
source§impl Clone for StructSpecifier
impl Clone for StructSpecifier
source§fn clone(&self) -> StructSpecifier
fn clone(&self) -> StructSpecifier
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 more