Struct sway_core::language::parsed::MatchExpression
source · pub struct MatchExpression {
pub value: Box<Expression>,
pub branches: Vec<MatchBranch>,
}
Fields§
§value: Box<Expression>
§branches: Vec<MatchBranch>
Trait Implementations§
source§impl Clone for MatchExpression
impl Clone for MatchExpression
source§fn clone(&self) -> MatchExpression
fn clone(&self) -> MatchExpression
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