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: UnderlierView,
impl<Inner, Input, Output> OutputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input, Output::Underlier>,
Input: Sync,
Output: UnderlierView,
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: UnderlierView,
impl<Inner, Input, Output> LinearTransformationFactory<Input, Output> for OutputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input, Output::Underlier>,
Input: Sync,
Output: UnderlierView,
type Transform = OutputWrappingTransformation<<Inner as LinearTransformationFactory<Input, <Output as UnderlierView>::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> UnsafeUnpin for OutputWrappingTransformationFactory<Inner, Input, Output>where
Inner: UnsafeUnpin,
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
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