Struct erg_parser::ast::ParamTuplePattern
source · pub struct ParamTuplePattern {
pub elems: Params,
}
Fields§
§elems: Params
Implementations§
Trait Implementations§
source§impl Clone for ParamTuplePattern
impl Clone for ParamTuplePattern
source§fn clone(&self) -> ParamTuplePattern
fn clone(&self) -> ParamTuplePattern
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 ParamTuplePattern
impl Debug for ParamTuplePattern
source§impl Display for ParamTuplePattern
impl Display for ParamTuplePattern
source§impl Hash for ParamTuplePattern
impl Hash for ParamTuplePattern
source§impl Locational for ParamTuplePattern
impl Locational for ParamTuplePattern
source§fn loc(&self) -> Location
fn loc(&self) -> Location
NOTE:
loc
cannot be treated as a light method when self
is a large grammatical element.
If possible, delay the computation by passing &impl Locational
or other means.fn ln_begin(&self) -> Option<u32>
fn ln_end(&self) -> Option<u32>
fn col_begin(&self) -> Option<u32>
fn col_end(&self) -> Option<u32>
source§impl NestedDisplay for ParamTuplePattern
impl NestedDisplay for ParamTuplePattern
source§impl PartialEq<ParamTuplePattern> for ParamTuplePattern
impl PartialEq<ParamTuplePattern> for ParamTuplePattern
source§fn eq(&self, other: &ParamTuplePattern) -> bool
fn eq(&self, other: &ParamTuplePattern) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParamTuplePattern
impl StructuralEq for ParamTuplePattern
impl StructuralPartialEq for ParamTuplePattern
Auto Trait Implementations§
impl RefUnwindSafe for ParamTuplePattern
impl Send for ParamTuplePattern
impl Sync for ParamTuplePattern
impl Unpin for ParamTuplePattern
impl UnwindSafe for ParamTuplePattern
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