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