pub trait ApplyDrop {
type In;
type Out;
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.
pub trait ApplyDrop {
type In;
type Out;
fn apply_drop(self, a: Self::In) -> Self::Out;
}
The ApplyDrop
trait works similarly to Apply
, except the apply_drop
method takes ownership over the wrapper.