pub struct Dropping;Trait Implementations§
Source§impl ElementEmission for Dropping
impl ElementEmission for Dropping
type OutArity<C: Arity> = <C as Arity>::AfterDrop
type Step<T> = Option<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 Dropping
impl Retention for Dropping
type Then<R: Retention> = Dropping
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 Dropping
impl RefUnwindSafe for Dropping
impl Send for Dropping
impl Sync for Dropping
impl Unpin for Dropping
impl UnsafeUnpin for Dropping
impl UnwindSafe for Dropping
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