pub struct Preserving;Trait Implementations§
Source§impl ElementEmission for Preserving
impl ElementEmission for Preserving
type OutArity<C: Arity> = C
type Step<T> = T
fn map_step<T, U>( step: Self::Step<T>, function: impl Fn(T) -> U, ) -> Self::Step<U>
fn apply<'a, C: Arity, X: 'a, Y: 'a>( container: C::Container<'a, X>, function: impl Fn(X) -> Self::Step<Y> + 'a, ) -> <Self::OutArity<C> as Arity>::Container<'a, Y>
fn default_estimate(input: Estimate) -> Estimate
Source§impl Retention for Preserving
impl Retention for Preserving
type Then<R: Retention> = R
fn keep<T>(value: T) -> Self::Step<T>
fn absent<T, E>(error: impl FnOnce() -> E) -> Self::Step<Result<T, E>>
fn map_step<T, U>( step: Self::Step<T>, function: impl FnOnce(T) -> U, ) -> Self::Step<U>
fn collapse<T>(step: Self::Step<T>) -> Option<T>
fn and_then<R, T, U, E, F>( step: Self::Step<Result<T, E>>, function: F, ) -> <Self::Then<R> as ElementEmission>::Step<Result<U, E>>
Auto Trait Implementations§
impl Freeze for Preserving
impl RefUnwindSafe for Preserving
impl Send for Preserving
impl Sync for Preserving
impl Unpin for Preserving
impl UnsafeUnpin for Preserving
impl UnwindSafe for Preserving
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