Struct edlang_ast::ArrayInitExpr
source · pub struct ArrayInitExpr {
pub data: Vec<Expression>,
pub span: Span,
}
Fields§
§data: Vec<Expression>
§span: Span
Trait Implementations§
source§impl Clone for ArrayInitExpr
impl Clone for ArrayInitExpr
source§fn clone(&self) -> ArrayInitExpr
fn clone(&self) -> ArrayInitExpr
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 ArrayInitExpr
impl Debug for ArrayInitExpr
source§impl Hash for ArrayInitExpr
impl Hash for ArrayInitExpr
source§impl Ord for ArrayInitExpr
impl Ord for ArrayInitExpr
source§fn cmp(&self, other: &ArrayInitExpr) -> Ordering
fn cmp(&self, other: &ArrayInitExpr) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ArrayInitExpr
impl PartialEq for ArrayInitExpr
source§fn eq(&self, other: &ArrayInitExpr) -> bool
fn eq(&self, other: &ArrayInitExpr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ArrayInitExpr
impl PartialOrd for ArrayInitExpr
source§fn partial_cmp(&self, other: &ArrayInitExpr) -> Option<Ordering>
fn partial_cmp(&self, other: &ArrayInitExpr) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ArrayInitExpr
impl StructuralPartialEq for ArrayInitExpr
Auto Trait Implementations§
impl Freeze for ArrayInitExpr
impl RefUnwindSafe for ArrayInitExpr
impl Send for ArrayInitExpr
impl Sync for ArrayInitExpr
impl Unpin for ArrayInitExpr
impl UnwindSafe for ArrayInitExpr
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