pub trait MultiWith<'js> {
type Arg;
fn with<R, F: FnOnce(Self::Arg) -> R>(self, f: F) -> R;
}
A trait for using multiple contexts at the same time.
Loading content...fn with<R, F: FnOnce(Self::Arg) -> R>(self, f: F) -> R
[src]
Use multiple contexts together.
This function will panic if any of the contexts are of seperate runtimes.
Loading content...type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)
fn with<R, F: FnOnce(Self::Arg) -> R>(self, f: F) -> R
[src]
type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)
fn with<R, F: FnOnce(Self::Arg) -> R>(self, f: F) -> R
[src]
type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)
fn with<R, F: FnOnce(Self::Arg) -> R>(self, f: F) -> R
[src]
Loading content...Loading content...