Enum move_ir_types::ast::StructDefinitionFields
source · pub enum StructDefinitionFields {
Move {
fields: Fields<Type>,
},
Native,
}
Expand description
The fields of a Move struct definition
Variants§
Trait Implementations§
source§impl Clone for StructDefinitionFields
impl Clone for StructDefinitionFields
source§fn clone(&self) -> StructDefinitionFields
fn clone(&self) -> StructDefinitionFields
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 StructDefinitionFields
impl Debug for StructDefinitionFields
source§impl PartialEq<StructDefinitionFields> for StructDefinitionFields
impl PartialEq<StructDefinitionFields> for StructDefinitionFields
source§fn eq(&self, other: &StructDefinitionFields) -> bool
fn eq(&self, other: &StructDefinitionFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.