[][src]Struct combinedfun::types::PositionedError

pub struct PositionedError<P, E> {
    pub position: P,
    pub error: E,
}

Fields

position: Perror: E

Methods

impl<P, E> PositionedError<P, E>[src]

pub fn new(position: P, error: E) -> Self[src]

Trait Implementations

impl<I, P: Position<I>, E: AltError<I>> AltError<Span<I, P>> for PositionedError<P, E>[src]

impl<'a, I, P: Position<I>, E, T: ?Sized> TagError<'a, T, Span<I, P>> for PositionedError<P, E> where
    E: TagError<'a, T, I>, 
[src]

impl<I, P: Position<I>, E: EofError<I>> EofError<Span<I, P>> for PositionedError<P, E>[src]

impl<I, P: Position<I>, E: NotError<O, I>, O> NotError<O, Span<I, P>> for PositionedError<P, E>[src]

impl<I: SplitFirst + Clone, P: Position<I>, E> ConsumeError<Span<I, P>> for PositionedError<P, E> where
    E: ConsumeError<I>, 
[src]

impl<P: Clone, E: Clone> Clone for PositionedError<P, E>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<P: PartialEq, E: PartialEq> PartialEq<PositionedError<P, E>> for PositionedError<P, E>[src]

impl<P: Eq, E: Eq> Eq for PositionedError<P, E>[src]

impl<P: Copy, E: Copy> Copy for PositionedError<P, E>[src]

impl<P: Debug, E: Debug> Debug for PositionedError<P, E>[src]

impl<P: Hash, E: Hash> Hash for PositionedError<P, E>[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

Auto Trait Implementations

impl<P, E> Sync for PositionedError<P, E> where
    E: Sync,
    P: Sync

impl<P, E> Send for PositionedError<P, E> where
    E: Send,
    P: Send

impl<P, E> Unpin for PositionedError<P, E> where
    E: Unpin,
    P: Unpin

impl<P, E> UnwindSafe for PositionedError<P, E> where
    E: UnwindSafe,
    P: UnwindSafe

impl<P, E> RefUnwindSafe for PositionedError<P, E> where
    E: RefUnwindSafe,
    P: RefUnwindSafe

Blanket Implementations

impl<I, P, T> Tag<Span<I, P>> for T where
    I: Clone,
    P: Position<I>,
    T: Tag<I> + ?Sized
[src]

type Output = <T as Tag<I>>::Output

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]