[−][src]Struct spirit::fragment::pipeline::ChainedTransformation
A wrapper that composes two Transformation
s into one.
This applies first the transformation A
, then B
. It is used internally to compose things
together when the transform
is called.
Trait Implementations
impl<A, B, R, I, S> Transformation<R, I, S> for ChainedTransformation<A, B> where
A: Transformation<R, I, S>,
B: Transformation<A::OutputResource, A::OutputInstaller, S>,
[src]
A: Transformation<R, I, S>,
B: Transformation<A::OutputResource, A::OutputInstaller, S>,
type OutputResource = B::OutputResource
The type of resource after the transformation.
type OutputInstaller = B::OutputInstaller
The type of installer after the transformation. Read more
fn installer(&mut self, installer: I, name: &'static str) -> B::OutputInstaller
[src]
fn transform(
&mut self,
resource: R,
fragment: &S,
name: &'static str
) -> Result<Self::OutputResource, AnyError>
[src]
&mut self,
resource: R,
fragment: &S,
name: &'static str
) -> Result<Self::OutputResource, AnyError>
Auto Trait Implementations
impl<A, B> RefUnwindSafe for ChainedTransformation<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for ChainedTransformation<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Sync for ChainedTransformation<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> Unpin for ChainedTransformation<A, B> where
A: Unpin,
B: Unpin,
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for ChainedTransformation<A, B> where
A: UnwindSafe,
B: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoResult<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,