Struct sway_core::language::ty::TyEnumVariant
source · pub struct TyEnumVariant {
pub name: Ident,
pub type_id: TypeId,
pub initial_type_id: TypeId,
pub type_span: Span,
pub span: Span,
pub attributes: AttributesMap,
/* private fields */
}
Fields§
§name: Ident
§type_id: TypeId
§initial_type_id: TypeId
§type_span: Span
§span: Span
§attributes: AttributesMap
Trait Implementations§
source§impl Clone for TyEnumVariant
impl Clone for TyEnumVariant
source§fn clone(&self) -> TyEnumVariant
fn clone(&self) -> TyEnumVariant
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