Struct erg_parser::ast::VarDataPackPattern
source · [−]pub struct VarDataPackPattern {
pub class: TypeSpec,
pub args: VarRecordPattern,
}
Fields
class: TypeSpec
args: VarRecordPattern
Implementations
sourceimpl VarDataPackPattern
impl VarDataPackPattern
pub const fn new(class: TypeSpec, args: VarRecordPattern) -> Self
Trait Implementations
sourceimpl Clone for VarDataPackPattern
impl Clone for VarDataPackPattern
sourcefn clone(&self) -> VarDataPackPattern
fn clone(&self) -> VarDataPackPattern
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 VarDataPackPattern
impl Debug for VarDataPackPattern
sourceimpl Display for VarDataPackPattern
impl Display for VarDataPackPattern
sourceimpl Hash for VarDataPackPattern
impl Hash for VarDataPackPattern
sourceimpl Locational for VarDataPackPattern
impl Locational for VarDataPackPattern
sourceimpl PartialEq<VarDataPackPattern> for VarDataPackPattern
impl PartialEq<VarDataPackPattern> for VarDataPackPattern
sourcefn eq(&self, other: &VarDataPackPattern) -> bool
fn eq(&self, other: &VarDataPackPattern) -> bool
impl Eq for VarDataPackPattern
impl StructuralEq for VarDataPackPattern
impl StructuralPartialEq for VarDataPackPattern
Auto Trait Implementations
impl RefUnwindSafe for VarDataPackPattern
impl !Send for VarDataPackPattern
impl !Sync for VarDataPackPattern
impl Unpin for VarDataPackPattern
impl UnwindSafe for VarDataPackPattern
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