Struct move_ir_types::ast::FieldIdent_
source · pub struct FieldIdent_ {
pub struct_name: StructName,
pub type_actuals: Vec<Type>,
pub field: Field,
}
Expand description
A fully-qualified field identifier.
Rather than simply referring to a field ‘f’ with a single identifier and
relying on type inference to determine the type of the struct being
accessed, this type refers to the field ‘f’ on the explicit struct type
‘S
Fields§
§struct_name: StructName
The name of the struct type on which the field is declared.
type_actuals: Vec<Type>
For generic struct types, the type parameters used to instantiate the struct type (this is an empty vector for non-generic struct types).
field: Field
The name of the field.
Trait Implementations§
source§impl Clone for FieldIdent_
impl Clone for FieldIdent_
source§fn clone(&self) -> FieldIdent_
fn clone(&self) -> FieldIdent_
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 moresource§impl Debug for FieldIdent_
impl Debug for FieldIdent_
source§impl Display for FieldIdent_
impl Display for FieldIdent_
source§impl PartialEq<FieldIdent_> for FieldIdent_
impl PartialEq<FieldIdent_> for FieldIdent_
source§fn eq(&self, other: &FieldIdent_) -> bool
fn eq(&self, other: &FieldIdent_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.