Struct erg_parser::ast::ConstArray
source · pub struct ConstArray {
pub l_sqbr: Token,
pub r_sqbr: Token,
pub elems: ConstArgs,
pub guard: Option<Box<ConstExpr>>,
}
Expand description
DictはキーつきArray(型としては別物)
Fields§
§l_sqbr: Token
§r_sqbr: Token
§elems: ConstArgs
§guard: Option<Box<ConstExpr>>
Implementations§
Trait Implementations§
source§impl Clone for ConstArray
impl Clone for ConstArray
source§fn clone(&self) -> ConstArray
fn clone(&self) -> ConstArray
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