Trait dyn_context::ContextExt [−][src]
Extends Context
with methods that make it easier to access the content of the context.
Provided methods
fn get<T: 'static>(&self) -> &T
[src]
Borrows shareable data reference.
Panics if the context does not provide requested type.
fn get_mut<T: 'static>(&mut self) -> &mut T
[src]
Borrows mutable data reference.
Panics if the context does not provide requested type.