pub struct TypeSafePipeline<S1, S2, D1, D2, D3>{ /* private fields */ }Expand description
Type-safe pipeline that chains transformers with compile-time validation
Implementations§
Source§impl<D1: Dimension, D2: Dimension, D3: Dimension> TypeSafePipeline<Unfitted, Unfitted, D1, D2, D3>
Type-safe pipeline in unfitted state
impl<D1: Dimension, D2: Dimension, D3: Dimension> TypeSafePipeline<Unfitted, Unfitted, D1, D2, D3>
Type-safe pipeline in unfitted state
Sourcepub fn new(
first: TypeSafeTransformer<Unfitted, D1, D2>,
second: TypeSafeTransformer<Unfitted, D2, D3>,
) -> Self
pub fn new( first: TypeSafeTransformer<Unfitted, D1, D2>, second: TypeSafeTransformer<Unfitted, D2, D3>, ) -> Self
Create a new pipeline by chaining two unfitted transformers
Source§impl TypeSafePipeline<Unfitted, Unfitted, Dynamic, Dynamic, Dynamic>
Fit pipeline with dynamic dimensions
impl TypeSafePipeline<Unfitted, Unfitted, Dynamic, Dynamic, Dynamic>
Fit pipeline with dynamic dimensions
Source§impl<const D1: usize, const D2: usize, const D3: usize> TypeSafePipeline<Unfitted, Unfitted, Known<D1>, Known<D2>, Known<D3>>
Fit pipeline with known dimensions
impl<const D1: usize, const D2: usize, const D3: usize> TypeSafePipeline<Unfitted, Unfitted, Known<D1>, Known<D2>, Known<D3>>
Fit pipeline with known dimensions
Source§impl TypeSafePipeline<Fitted, Fitted, Dynamic, Dynamic, Dynamic>
Transform for fitted pipeline with dynamic dimensions
impl TypeSafePipeline<Fitted, Fitted, Dynamic, Dynamic, Dynamic>
Transform for fitted pipeline with dynamic dimensions
Auto Trait Implementations§
impl<S1, S2, D1, D2, D3> Freeze for TypeSafePipeline<S1, S2, D1, D2, D3>
impl<S1, S2, D1, D2, D3> RefUnwindSafe for TypeSafePipeline<S1, S2, D1, D2, D3>where
S1: RefUnwindSafe,
D1: RefUnwindSafe,
D2: RefUnwindSafe,
S2: RefUnwindSafe,
D3: RefUnwindSafe,
impl<S1, S2, D1, D2, D3> Send for TypeSafePipeline<S1, S2, D1, D2, D3>
impl<S1, S2, D1, D2, D3> Sync for TypeSafePipeline<S1, S2, D1, D2, D3>
impl<S1, S2, D1, D2, D3> Unpin for TypeSafePipeline<S1, S2, D1, D2, D3>
impl<S1, S2, D1, D2, D3> UnwindSafe for TypeSafePipeline<S1, S2, D1, D2, D3>
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