Struct sway_core::language::parsed::declaration::StructField
source · pub struct StructField {
pub name: Ident,
pub attributes: AttributesMap,
pub type_info: TypeInfo,
pub type_span: Span,
/* private fields */
}
Fields§
§name: Ident
§attributes: AttributesMap
§type_info: TypeInfo
§type_span: Span
Trait Implementations§
source§impl Clone for StructField
impl Clone for StructField
source§fn clone(&self) -> StructField
fn clone(&self) -> StructField
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