Struct spirit::fragment::pipeline::AndThen [−][src]
pub struct AndThen<T, A>(_, _);
Expand description
A Transformation
that maps a Resource
through a fallible closure.
This is used internally, to implement the and_then
method. The user
should not have to come into direct contact with this.
Trait Implementations
impl<T, M, Rin, Rout, I, S> Transformation<Rin, I, S> for AndThen<T, M> where
T: Transformation<Rin, I, S>,
M: FnMut(T::OutputResource) -> Result<Rout, AnyError>,
Rout: 'static,
impl<T, M, Rin, Rout, I, S> Transformation<Rin, I, S> for AndThen<T, M> where
T: Transformation<Rin, I, S>,
M: FnMut(T::OutputResource) -> Result<Rout, AnyError>,
Rout: 'static,
type OutputResource = Rout
type OutputResource = Rout
The type of resource after the transformation.
type OutputInstaller = T::OutputInstaller
type OutputInstaller = T::OutputInstaller
The type of installer after the transformation. Read more
Creates the installer. Read more