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>>,
}
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 moresource§impl Debug for ConstArray
impl Debug for ConstArray
source§impl Display for ConstArray
impl Display for ConstArray
source§impl Hash for ConstArray
impl Hash for ConstArray
source§impl Locational for ConstArray
impl Locational for ConstArray
source§impl NestedDisplay for ConstArray
impl NestedDisplay for ConstArray
source§impl PartialEq<ConstArray> for ConstArray
impl PartialEq<ConstArray> for ConstArray
source§fn eq(&self, other: &ConstArray) -> bool
fn eq(&self, other: &ConstArray) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.