[][src]Struct wasm_reader_traits::Reader

pub struct Reader<P, S = (), F = HNil> { /* fields omitted */ }

Methods

impl<P> Reader<P>[src]

pub fn new(parsers: P) -> Self[src]

impl<P, S> Reader<P, S>[src]

pub fn with_state<NS>(self, state: NS) -> Reader<P, NS>[src]

Trait Implementations

impl<PS, FS, F, S> ReaderBuild<F> for Reader<PS, S, FS> where
    (PhantomData<PS>, FS): ReaderBuildHelper<S, Simple<F>>, 
[src]

type New = Reader<PS, S, <(PhantomData<PS>, FS) as ReaderBuildHelper<S, Simple<F>>>::New>

impl<PS, FS, F, S> ReaderBuildIter<F> for Reader<PS, S, FS> where
    (PhantomData<PS>, FS): ReaderBuildHelper<S, Iter<F>>, 
[src]

type New = Reader<PS, S, <(PhantomData<PS>, FS) as ReaderBuildHelper<S, Iter<F>>>::New>

impl<PS, FS, S> ReaderRead for Reader<PS, S, FS> where
    (PS, FS, S): ReaderReadHelper<Out = S>, 
[src]

type Out = S

type Error = <(PS, FS, S) as ReaderReadHelper>::Error

Auto Trait Implementations

impl<P, S, F> RefUnwindSafe for Reader<P, S, F> where
    F: RefUnwindSafe,
    P: RefUnwindSafe,
    S: RefUnwindSafe

impl<P, S, F> Send for Reader<P, S, F> where
    F: Send,
    P: Send,
    S: Send

impl<P, S, F> Sync for Reader<P, S, F> where
    F: Sync,
    P: Sync,
    S: Sync

impl<P, S, F> Unpin for Reader<P, S, F> where
    F: Unpin,
    P: Unpin,
    S: Unpin

impl<P, S, F> UnwindSafe for Reader<P, S, F> where
    F: UnwindSafe,
    P: UnwindSafe,
    S: 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<Choices> CoproductSubsetter<CNil, HNil> for Choices[src]

type Remainder = Choices

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

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

impl<T, U, I> LiftInto<U, I> for T where
    U: LiftFrom<T, I>, 
[src]

impl<Source> Sculptor<HNil, HNil> for Source[src]

type Remainder = Source

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.