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
sourceimpl Clone for ConstArray
impl Clone for ConstArray
sourcefn clone(&self) -> ConstArray
fn clone(&self) -> ConstArray
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConstArray
impl Debug for ConstArray
sourceimpl Display for ConstArray
impl Display for ConstArray
sourceimpl Hash for ConstArray
impl Hash for ConstArray
sourceimpl Locational for ConstArray
impl Locational for ConstArray
sourceimpl NestedDisplay for ConstArray
impl NestedDisplay for ConstArray
sourceimpl PartialEq<ConstArray> for ConstArray
impl PartialEq<ConstArray> for ConstArray
sourcefn eq(&self, other: &ConstArray) -> bool
fn eq(&self, other: &ConstArray) -> bool
impl Eq for ConstArray
impl StructuralEq for ConstArray
impl StructuralPartialEq for ConstArray
Auto Trait Implementations
impl RefUnwindSafe for ConstArray
impl !Send for ConstArray
impl !Sync for ConstArray
impl Unpin for ConstArray
impl UnwindSafe for ConstArray
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more