Struct sway_ast::expr::ExprStructField
source · pub struct ExprStructField {
pub field_name: Ident,
pub expr_opt: Option<(ColonToken, Box<Expr>)>,
}Fields§
§field_name: Ident§expr_opt: Option<(ColonToken, Box<Expr>)>Trait Implementations§
source§impl Clone for ExprStructField
impl Clone for ExprStructField
source§fn clone(&self) -> ExprStructField
fn clone(&self) -> ExprStructField
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