pub fn with_drop<T, F: FnOnce(T)>(inner: T, drop_fn: F) -> WithDrop<T, F>
Expand description

Alias for WithDrop::new