Trait dyn_context::ContextRefMut [−][src]
Provides method allowing combine two Context
s into one.
Required methods
fn merge_mut_and_then<T>(
self,
f: impl FnOnce(&mut dyn Context) -> T,
other: &mut dyn Context
) -> T
[src]
self,
f: impl FnOnce(&mut dyn Context) -> T,
other: &mut dyn Context
) -> T
Merges two contexts into one and calls provided function with the combined context.
Implementors
impl ContextRefMut for &mut dyn Context
[src]
fn merge_mut_and_then<T>(
self,
f: impl FnOnce(&mut dyn Context) -> T,
other: &mut dyn Context
) -> T
[src]
self,
f: impl FnOnce(&mut dyn Context) -> T,
other: &mut dyn Context
) -> T
impl<C: Context> ContextRefMut for &mut C
[src]
fn merge_mut_and_then<T>(
self,
f: impl FnOnce(&mut dyn Context) -> T,
other: &mut dyn Context
) -> T
[src]
self,
f: impl FnOnce(&mut dyn Context) -> T,
other: &mut dyn Context
) -> T