[][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> Send for CfgExtractor<F> where
    F: Send

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

Blanket Implementations

impl<T> IntoResult for T[src]

impl<'a, O, C, F, R> Extractor 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 for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Erased for T