Enum pest::error::InputLocation [−][src]
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
impl Clone for InputLocation
[src]
impl Clone for InputLocation
fn clone(&self) -> InputLocation
[src]
fn clone(&self) -> InputLocation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for InputLocation
[src]
impl Debug for InputLocation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for InputLocation
[src]
impl Eq for InputLocation
impl Hash for InputLocation
[src]
impl Hash for InputLocation
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for InputLocation
[src]
impl PartialEq for InputLocation
fn eq(&self, other: &InputLocation) -> bool
[src]
fn eq(&self, other: &InputLocation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &InputLocation) -> bool
[src]
fn ne(&self, other: &InputLocation) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for InputLocation
impl Send for InputLocation
impl Sync for InputLocation
impl Sync for InputLocation