pub struct InputWrappingTransformationFactory<Inner, Input, Output> { /* private fields */ }Expand description
Factory that wraps an underlier transformation factory to accept inputs with underliers.
Implementations§
Source§impl<Inner, Input, Output> InputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input::Underlier, Output>,
Input: WithUnderlier,
Output: Sync,
impl<Inner, Input, Output> InputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input::Underlier, Output>,
Input: WithUnderlier,
Output: Sync,
Trait Implementations§
Source§impl<Inner: Debug, Input: Debug, Output: Debug> Debug for InputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner: Debug, Input: Debug, Output: Debug> Debug for InputWrappingTransformationFactory<Inner, Input, Output>
Source§impl<Inner, Input, Output> LinearTransformationFactory<Input, Output> for InputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input::Underlier, Output>,
Input: WithUnderlier,
Output: Sync,
impl<Inner, Input, Output> LinearTransformationFactory<Input, Output> for InputWrappingTransformationFactory<Inner, Input, Output>where
Inner: LinearTransformationFactory<Input::Underlier, Output>,
Input: WithUnderlier,
Output: Sync,
type Transform = InputWrappingTransformation<<Inner as LinearTransformationFactory<<Input as WithUnderlier>::Underlier, Output>>::Transform, Input, Output>
fn create(&self, cols: &[Output]) -> Self::Transform
Auto Trait Implementations§
impl<Inner, Input, Output> Freeze for InputWrappingTransformationFactory<Inner, Input, Output>where
Inner: Freeze,
impl<Inner, Input, Output> RefUnwindSafe for InputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner, Input, Output> Send for InputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner, Input, Output> Sync for InputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner, Input, Output> Unpin for InputWrappingTransformationFactory<Inner, Input, Output>
impl<Inner, Input, Output> UnwindSafe for InputWrappingTransformationFactory<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