Struct erg_parser::ast::Namespaces
source · pub struct Namespaces(_);
Implementations§
source§impl Namespaces
impl Namespaces
pub const fn new(v: Vec<Accessor>) -> Namespaces
pub fn empty() -> Namespaces
Trait Implementations§
source§impl Clone for Namespaces
impl Clone for Namespaces
source§fn clone(&self) -> Namespaces
fn clone(&self) -> Namespaces
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 Namespaces
impl Debug for Namespaces
source§impl Default for Namespaces
impl Default for Namespaces
source§impl Display for Namespaces
impl Display for Namespaces
source§impl FromIterator<Accessor> for Namespaces
impl FromIterator<Accessor> for Namespaces
source§impl Hash for Namespaces
impl Hash for Namespaces
source§impl Index<usize> for Namespaces
impl Index<usize> for Namespaces
source§impl IntoIterator for Namespaces
impl IntoIterator for Namespaces
source§impl Locational for Namespaces
impl Locational for Namespaces
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 Namespaces
impl NestedDisplay for Namespaces
source§impl PartialEq<Namespaces> for Namespaces
impl PartialEq<Namespaces> for Namespaces
source§fn eq(&self, other: &Namespaces) -> bool
fn eq(&self, other: &Namespaces) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.