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