Enum pest::error::InputLocation
source · Expand description
Where an Error
has occurred.
Variants
Pos(usize)
Error
was created by Error::new_from_pos
Span((usize, usize))
Error
was created by Error::new_from_span
Trait Implementations
sourceimpl Clone for InputLocation
impl Clone for InputLocation
sourcefn clone(&self) -> InputLocation
fn clone(&self) -> InputLocation
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 moresourceimpl Debug for InputLocation
impl Debug for InputLocation
sourceimpl Hash for InputLocation
impl Hash for InputLocation
sourceimpl PartialEq<InputLocation> for InputLocation
impl PartialEq<InputLocation> for InputLocation
sourcefn eq(&self, other: &InputLocation) -> bool
fn eq(&self, other: &InputLocation) -> bool
impl Eq for InputLocation
impl StructuralEq for InputLocation
impl StructuralPartialEq for InputLocation
Auto Trait Implementations
impl RefUnwindSafe for InputLocation
impl Send for InputLocation
impl Sync for InputLocation
impl Unpin for InputLocation
impl UnwindSafe for InputLocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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