[][src]Struct spirit::fragment::pipeline::CfgExtractor

pub struct CfgExtractor<F>(_);

A wrapper to turn a FnMut(Config) -> R into an Extractor.

This isn't used by the user directly, it is constructed through the extract_cfg method.

Trait Implementations

impl<'a, O, C: 'a, F, R> Extractor<'a, O, C> for CfgExtractor<F> where
    F: FnMut(&'a C) -> R,
    R: Fragment + 'a, 
[src]

type Fragment = R

The fragment being extracted.

Auto Trait Implementations

impl<F> RefUnwindSafe for CfgExtractor<F> where
    F: RefUnwindSafe

impl<F> Send for CfgExtractor<F> where
    F: Send

impl<F> Sync for CfgExtractor<F> where
    F: Sync

impl<F> Unpin for CfgExtractor<F> where
    F: Unpin

impl<F> UnwindSafe for CfgExtractor<F> where
    F: 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<'a, O, C, F, R> Extractor<'a, O, C> for F where
    C: 'a,
    F: FnMut(&'a O, &'a C) -> R,
    O: 'a,
    R: Fragment + 'a, 
[src]

type Fragment = R

The fragment being extracted.

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

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

impl<T> IntoResult<T> for 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.