Enum move_lang::expansion::ast::StructFields
source · pub enum StructFields {
Defined(Fields<Type>),
Native(Loc),
}
Variants§
Trait Implementations§
source§impl Clone for StructFields
impl Clone for StructFields
source§fn clone(&self) -> StructFields
fn clone(&self) -> StructFields
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 StructFields
impl Debug for StructFields
source§impl PartialEq<StructFields> for StructFields
impl PartialEq<StructFields> for StructFields
source§fn eq(&self, other: &StructFields) -> bool
fn eq(&self, other: &StructFields) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.