Struct erg_parser::ast::ParamListPattern
source · pub struct ParamListPattern {
pub l_sqbr: Token,
pub elems: Params,
pub r_sqbr: Token,
}
Fields§
§l_sqbr: Token
§elems: Params
§r_sqbr: Token
Implementations§
Trait Implementations§
source§impl Clone for ParamListPattern
impl Clone for ParamListPattern
source§fn clone(&self) -> ParamListPattern
fn clone(&self) -> ParamListPattern
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 ParamListPattern
impl Debug for ParamListPattern
source§impl Display for ParamListPattern
impl Display for ParamListPattern
source§impl Hash for ParamListPattern
impl Hash for ParamListPattern
source§impl Locational for ParamListPattern
impl Locational for ParamListPattern
source§impl NestedDisplay for ParamListPattern
impl NestedDisplay for ParamListPattern
source§impl PartialEq for ParamListPattern
impl PartialEq for ParamListPattern
source§fn eq(&self, other: &ParamListPattern) -> bool
fn eq(&self, other: &ParamListPattern) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&ParamListPattern> for ConstExpr
impl TryFrom<&ParamListPattern> for ConstExpr
source§impl TryFrom<&ParamListPattern> for Expr
impl TryFrom<&ParamListPattern> for Expr
impl Eq for ParamListPattern
impl StructuralPartialEq for ParamListPattern
Auto Trait Implementations§
impl Freeze for ParamListPattern
impl RefUnwindSafe for ParamListPattern
impl Send for ParamListPattern
impl Sync for ParamListPattern
impl Unpin for ParamListPattern
impl UnwindSafe for ParamListPattern
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