pub struct Location {
pub line: usize,
pub col: usize,
}Expand description
One-based line and column at which the error was detected.
Fields§
§line: usizeThe one-based line number of the error.
col: usizeThe one-based column number of the error.
Trait Implementations§
source§impl PartialEq<Location> for Location
impl PartialEq<Location> for Location
impl Eq for Location
impl StructuralEq for Location
impl StructuralPartialEq for Location
Auto Trait Implementations§
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnwindSafe for Location
Blanket Implementations§
source§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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.