pub trait WithInner<O> {
// Required methods
fn with_inner<F, R>(&'static self, f: F) -> Option<R>
where F: FnOnce(&O) -> R;
fn with_inner_mut<F, R>(&'static self, f: F) -> Option<R>
where F: FnOnce(&mut O) -> R;
}
Required Methods§
fn with_inner<F, R>(&'static self, f: F) -> Option<R>
fn with_inner_mut<F, R>(&'static self, f: F) -> Option<R>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.