Struct erg_parser::ast::VarDataPackPattern
source · pub struct VarDataPackPattern {
pub class: TypeSpec,
pub class_as_expr: Box<Expr>,
pub args: VarRecordPattern,
}
Fields§
§class: TypeSpec
§class_as_expr: Box<Expr>
§args: VarRecordPattern
Implementations§
Trait Implementations§
source§impl Clone for VarDataPackPattern
impl Clone for VarDataPackPattern
source§fn clone(&self) -> VarDataPackPattern
fn clone(&self) -> VarDataPackPattern
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 VarDataPackPattern
impl Debug for VarDataPackPattern
source§impl Display for VarDataPackPattern
impl Display for VarDataPackPattern
source§impl Hash for VarDataPackPattern
impl Hash for VarDataPackPattern
source§impl Locational for VarDataPackPattern
impl Locational for VarDataPackPattern
source§impl PartialEq for VarDataPackPattern
impl PartialEq for VarDataPackPattern
source§fn eq(&self, other: &VarDataPackPattern) -> bool
fn eq(&self, other: &VarDataPackPattern) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VarDataPackPattern
impl StructuralPartialEq for VarDataPackPattern
Auto Trait Implementations§
impl Freeze for VarDataPackPattern
impl RefUnwindSafe for VarDataPackPattern
impl Send for VarDataPackPattern
impl Sync for VarDataPackPattern
impl Unpin for VarDataPackPattern
impl UnwindSafe for VarDataPackPattern
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