Enum erg_parser::ast::ConstArray
source · pub enum ConstArray {
Normal(ConstNormalArray),
WithLength(ConstArrayWithLength),
}
Variants§
Normal(ConstNormalArray)
WithLength(ConstArrayWithLength)
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 for ConstArray
impl PartialEq 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 ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more