Trait dyn_context::ContextRefMut [−][src]
pub trait ContextRefMut {
fn merge_mut_and_then<T>(
self,
f: impl FnOnce(&mut dyn Context) -> T,
other: &mut dyn Context
) -> T;
}Expand description
Provides method allowing combine two Contexts into one.
Required methods
fn merge_mut_and_then<T>(
self,
f: impl FnOnce(&mut dyn Context) -> T,
other: &mut dyn Context
) -> T
fn merge_mut_and_then<T>(
self,
f: impl FnOnce(&mut dyn Context) -> T,
other: &mut dyn Context
) -> TMerges two contexts into one and calls provided function with the combined context.