Trait ApplyDrop

Source
pub trait ApplyDrop {
    type In;
    type Out;

    // Required method
    fn apply_drop(self, a: Self::In) -> Self::Out;
}
Expand description

The ApplyDrop trait works similarly to Apply, except the apply_drop method takes ownership over the wrapper.

Required Associated Types§

Required Methods§

Source

fn apply_drop(self, a: Self::In) -> Self::Out

Implementors§

Source§

impl<FIn, FOut> ApplyDrop for FBox<FIn, FOut>

Source§

type In = FIn

Source§

type Out = FOut