Trait UseContext

Source
pub trait UseContext {
    // Required method
    fn use_context<T>(&mut self) -> Option<Context<T>>
       where T: 'static;
}

Required Methods§

Source

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.

Implementors§

Source§

impl<'a, P> UseContext for Manager<'a, P>
where P: Platform + ?Sized,