[][src]Struct combine::stream::span::Span

pub struct Span<P> {
    pub start: P,
    pub end: P,
}

Fields

start: Pend: P

Implementations

impl<P> Span<P>[src]

pub fn map<Q>(self, f: impl FnMut(P) -> Q) -> Span<Q>[src]

Trait Implementations

impl<P: Clone> Clone for Span<P>[src]

impl<P: Copy> Copy for Span<P>[src]

impl<P: Debug> Debug for Span<P>[src]

impl<P: Default> Default for Span<P>[src]

impl<P: Eq> Eq for Span<P>[src]

impl<P> From<P> for Span<P> where
    P: Clone
[src]

impl<P: Ord> Ord for Span<P>[src]

impl<P: PartialEq> PartialEq<Span<P>> for Span<P>[src]

impl<P: PartialOrd> PartialOrd<Span<P>> for Span<P>[src]

impl<P> StructuralEq for Span<P>[src]

impl<P> StructuralPartialEq for Span<P>[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for Span<P> where
    P: RefUnwindSafe

impl<P> Send for Span<P> where
    P: Send

impl<P> Sync for Span<P> where
    P: Sync

impl<P> Unpin for Span<P> where
    P: Unpin

impl<P> UnwindSafe for Span<P> where
    P: UnwindSafe

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.