pub struct OutputWrappingTransformationFactory<Inner, Input, Output> { /* private fields */ }Expand description
Factory that wraps an underlier transformation factory to work with types that have underliers.
Implementations§
Source§impl<Inner, Input, Output> OutputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input, Output::Underlier>,
Input: Sync,
Output: WithUnderlier,
impl<Inner, Input, Output> OutputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input, Output::Underlier>,
Input: Sync,
Output: WithUnderlier,
Trait Implementations§
Source§impl<Inner: Debug, Input: Debug, Output: Debug> Debug for OutputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner: Debug, Input: Debug, Output: Debug> Debug for OutputWrappingTransformationFactory<Inner, Input, Output>
Source§impl<Inner, Input, Output> LinearTransformationFactory<Input, Output> for OutputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input, Output::Underlier>,
Input: Sync,
Output: WithUnderlier,
impl<Inner, Input, Output> LinearTransformationFactory<Input, Output> for OutputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input, Output::Underlier>,
Input: Sync,
Output: WithUnderlier,
type Transform = OutputWrappingTransformation<<Inner as LinearTransformationFactory<Input, <Output as WithUnderlier>::Underlier>>::Transform, Input, Output>
fn create(&self, cols: &[Output]) -> Self::Transform
Auto Trait Implementations§
impl<Inner, Input, Output> Freeze for OutputWrappingTransformationFactory<Inner, Input, Output>where
Inner: Freeze,
impl<Inner, Input, Output> RefUnwindSafe for OutputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner, Input, Output> Send for OutputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner, Input, Output> Sync for OutputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner, Input, Output> Unpin for OutputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner, Input, Output> UnwindSafe for OutputWrappingTransformationFactory<Inner, Input, Output>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more