Struct jrsonnet_parser::ExprLocation
source · Expand description
file, begin offset, end offset
Tuple Fields§
§0: Source
§1: u32
§2: u32
Implementations§
source§impl ExprLocation
impl ExprLocation
pub fn belongs_to(&self, other: &ExprLocation) -> bool
Trait Implementations§
source§impl Clone for ExprLocation
impl Clone for ExprLocation
source§fn clone(&self) -> ExprLocation
fn clone(&self) -> ExprLocation
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 ExprLocation
impl Debug for ExprLocation
source§impl PartialEq<ExprLocation> for ExprLocation
impl PartialEq<ExprLocation> for ExprLocation
source§fn eq(&self, other: &ExprLocation) -> bool
fn eq(&self, other: &ExprLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Trace for ExprLocation
impl Trace for ExprLocation
impl Eq for ExprLocation
impl StructuralEq for ExprLocation
impl StructuralPartialEq for ExprLocation
Auto Trait Implementations§
impl !RefUnwindSafe for ExprLocation
impl !Send for ExprLocation
impl !Sync for ExprLocation
impl Unpin for ExprLocation
impl !UnwindSafe for ExprLocation
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more