pub trait UseContext {
// Required method
fn use_context<T>(&mut self) -> Option<Context<T>>
where T: 'static;
}
Required Methods§
fn use_context<T>(&mut self) -> Option<Context<T>>where
T: 'static,
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.