Trait rquickjs_core::MultiWith[][src]

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.

Associated Types

Loading content...

Required methods

fn with<R, F: FnOnce(Self::Arg) -> R>(self, f: F) -> R[src]

Use multiple contexts together.

Panic

This function will panic if any of the contexts are of seperate runtimes.

Loading content...

Implementations on Foreign Types

impl<'js> MultiWith<'js> for (&'js Context, &'js Context)[src]

type Arg = (Ctx<'js>, Ctx<'js>)

impl<'js> MultiWith<'js> for (&'js Context, &'js Context, &'js Context)[src]

type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>)

impl<'js> MultiWith<'js> for (&'js Context, &'js Context, &'js Context, &'js Context)[src]

type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)

impl<'js> MultiWith<'js> for (&'js Context, &'js Context, &'js Context, &'js Context, &'js Context)[src]

type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)

impl<'js> MultiWith<'js> for (&'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context)[src]

type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)

impl<'js> MultiWith<'js> for (&'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context)[src]

type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)

impl<'js> MultiWith<'js> for (&'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context)[src]

type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)

impl<'js> MultiWith<'js> for (&'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context)[src]

type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)

impl<'js> MultiWith<'js> for (&'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context)[src]

type Arg = (Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>, Ctx<'js>)

impl<'js> MultiWith<'js> for (&'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context, &'js Context)[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>)

Loading content...

Implementors

Loading content...