Struct spirit::fragment::pipeline::Map [−][src]
pub struct Map<T, M>(_, _);
Expand description
A Transformation
than maps a Resource
through a closure.
This is used internally, to implement the map
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 Map<T, M> where
T: Transformation<Rin, I, S>,
M: FnMut(T::OutputResource) -> Rout,
Rout: 'static,
impl<T, M, Rin, Rout, I, S> Transformation<Rin, I, S> for Map<T, M> where
T: Transformation<Rin, I, S>,
M: FnMut(T::OutputResource) -> Rout,
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