Trait rquickjs::MultiWith[][src]

pub trait MultiWith<'js> {
    type Arg;
    pub fn with<R, F>(self, f: F) -> R
    where
        F: FnOnce(Self::Arg) -> R
; }

A trait for using multiple contexts at the same time.

Associated Types

Loading content...

Required methods

pub fn with<R, F>(self, f: F) -> R where
    F: FnOnce(Self::Arg) -> 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, &'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)[src]

type Arg = (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)[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, &'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>)

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, &'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)[src]

type Arg = (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>)

Loading content...

Implementors

Loading content...