Enum move_lang::hlir::ast::ExpListItem
source · pub enum ExpListItem {
Single(Exp, Box<SingleType>),
Splat(Loc, Exp, Vec<SingleType>),
}
Variants§
Single(Exp, Box<SingleType>)
Splat(Loc, Exp, Vec<SingleType>)
Trait Implementations§
source§impl Clone for ExpListItem
impl Clone for ExpListItem
source§fn clone(&self) -> ExpListItem
fn clone(&self) -> ExpListItem
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 ExpListItem
impl Debug for ExpListItem
source§impl PartialEq<ExpListItem> for ExpListItem
impl PartialEq<ExpListItem> for ExpListItem
source§fn eq(&self, other: &ExpListItem) -> bool
fn eq(&self, other: &ExpListItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.