Trait rquickjs_core::AsArguments[][src]

pub trait AsArguments<'js> {
    fn apply<R>(self, func: &Function<'js>) -> Result<R>
    where
        R: FromJs<'js>
;
fn defer_apply(self, func: &Function<'js>) -> Result<()>; }

A helper trait to pass arguments on a function calls.

Required methods

fn apply<R>(self, func: &Function<'js>) -> Result<R> where
    R: FromJs<'js>, 
[src]

fn defer_apply(self, func: &Function<'js>) -> Result<()>[src]

Loading content...

Implementations on Foreign Types

impl<'js> AsArguments<'js> for ()[src]

impl<'js, A> AsArguments<'js> for (A,) where
    A: IntoInput<'js>, 
[src]

impl<'js, A, B> AsArguments<'js> for (A, B) where
    A: IntoInput<'js>,
    B: IntoInput<'js>, 
[src]

impl<'js, A, B, C> AsArguments<'js> for (A, B, C) where
    A: IntoInput<'js>,
    B: IntoInput<'js>,
    C: IntoInput<'js>, 
[src]

impl<'js, A, B, C, D> AsArguments<'js> for (A, B, C, D) where
    A: IntoInput<'js>,
    B: IntoInput<'js>,
    C: IntoInput<'js>,
    D: IntoInput<'js>, 
[src]

impl<'js, A, B, C, D, E> AsArguments<'js> for (A, B, C, D, E) where
    A: IntoInput<'js>,
    B: IntoInput<'js>,
    C: IntoInput<'js>,
    D: IntoInput<'js>,
    E: IntoInput<'js>, 
[src]

impl<'js, A, B, C, D, E, F> AsArguments<'js> for (A, B, C, D, E, F) where
    A: IntoInput<'js>,
    B: IntoInput<'js>,
    C: IntoInput<'js>,
    D: IntoInput<'js>,
    E: IntoInput<'js>,
    F: IntoInput<'js>, 
[src]

Loading content...

Implementors

Loading content...