Enum pest::error::LineColLocation
source · [−]Expand description
Line/column where an Error
has occurred.
Variants
Pos((usize, usize))
Line/column pair if Error
was created by Error::new_from_pos
Span((usize, usize), (usize, usize))
Line/column pairs if Error
was created by Error::new_from_span
Trait Implementations
sourceimpl Clone for LineColLocation
impl Clone for LineColLocation
sourcefn clone(&self) -> LineColLocation
fn clone(&self) -> LineColLocation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LineColLocation
impl Debug for LineColLocation
sourceimpl Hash for LineColLocation
impl Hash for LineColLocation
sourceimpl PartialEq<LineColLocation> for LineColLocation
impl PartialEq<LineColLocation> for LineColLocation
sourcefn eq(&self, other: &LineColLocation) -> bool
fn eq(&self, other: &LineColLocation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LineColLocation) -> bool
fn ne(&self, other: &LineColLocation) -> bool
This method tests for !=
.
impl Eq for LineColLocation
impl StructuralEq for LineColLocation
impl StructuralPartialEq for LineColLocation
Auto Trait Implementations
impl RefUnwindSafe for LineColLocation
impl Send for LineColLocation
impl Sync for LineColLocation
impl Unpin for LineColLocation
impl UnwindSafe for LineColLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more