Function composable::dependencies::with_dependencies

source ยท
pub fn with_dependencies<T: Tuple, F: FnOnce() -> R, R>(with: T, f: F) -> R
Expand description

Supply a tuple of dependencies for the supplied closure

For a single value with_dependency may be used instead.