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 InputLocationfn clone(&self) -> InputLocation[src]
fn clone(&self) -> InputLocationReturns 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 InputLocationfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for InputLocation[src]
impl Eq for InputLocationimpl Hash for InputLocation[src]
impl Hash for InputLocationfn 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 InputLocationfn eq(&self, other: &InputLocation) -> bool[src]
fn eq(&self, other: &InputLocation) -> boolThis 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) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for InputLocation
impl Send for InputLocationimpl Sync for InputLocation
impl Sync for InputLocation