Enum sway_core::language::ty::ProjectionKind
source · pub enum ProjectionKind {
StructField {
name: Ident,
},
TupleField {
index: usize,
index_span: Span,
},
ArrayIndex {
index: Box<TyExpression>,
index_span: Span,
},
}
Variants§
Trait Implementations§
source§impl Clone for ProjectionKind
impl Clone for ProjectionKind
source§fn clone(&self) -> ProjectionKind
fn clone(&self) -> ProjectionKind
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