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