[][src]Struct js_ffi::JSFunction

pub struct JSFunction(_);

Methods

impl JSFunction[src]

pub fn call_0(&self, obj: impl ToJSValue) -> JSValue[src]

pub fn call_1(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue
) -> JSValue
[src]

pub fn call_2(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue
) -> JSValue
[src]

pub fn call_3(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue
) -> JSValue
[src]

pub fn call_4(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue
) -> JSValue
[src]

pub fn call_5(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue
) -> JSValue
[src]

pub fn call_6(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue
) -> JSValue
[src]

pub fn call_7(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue,
    a7_type: JSType,
    a7: impl ToJSValue
) -> JSValue
[src]

pub fn call_8(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue,
    a7_type: JSType,
    a7: impl ToJSValue,
    a8_type: JSType,
    a8: impl ToJSValue
) -> JSValue
[src]

pub fn call_9(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue,
    a7_type: JSType,
    a7: impl ToJSValue,
    a8_type: JSType,
    a8: impl ToJSValue,
    a9_type: JSType,
    a9: impl ToJSValue
) -> JSValue
[src]

pub fn call_10(
    &self,
    obj: impl ToJSValue,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue,
    a7_type: JSType,
    a7: impl ToJSValue,
    a8_type: JSType,
    a8: impl ToJSValue,
    a9_type: JSType,
    a9: impl ToJSValue,
    a10_type: JSType,
    a10: impl ToJSValue
) -> JSValue
[src]

pub fn invoke_0(&self) -> JSValue[src]

pub fn invoke_1(&self, a1_type: JSType, a1: impl ToJSValue) -> JSValue[src]

pub fn invoke_2(
    &self,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue
) -> JSValue
[src]

pub fn invoke_3(
    &self,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue
) -> JSValue
[src]

pub fn invoke_4(
    &self,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue
) -> JSValue
[src]

pub fn invoke_5(
    &self,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue
) -> JSValue
[src]

pub fn invoke_6(
    &self,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue
) -> JSValue
[src]

pub fn invoke_7(
    &self,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue,
    a7_type: JSType,
    a7: impl ToJSValue
) -> JSValue
[src]

pub fn invoke_8(
    &self,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue,
    a7_type: JSType,
    a7: impl ToJSValue,
    a8_type: JSType,
    a8: impl ToJSValue
) -> JSValue
[src]

pub fn invoke_9(
    &self,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue,
    a7_type: JSType,
    a7: impl ToJSValue,
    a8_type: JSType,
    a8: impl ToJSValue,
    a9_type: JSType,
    a9: impl ToJSValue
) -> JSValue
[src]

pub fn invoke_10(
    &self,
    a1_type: JSType,
    a1: impl ToJSValue,
    a2_type: JSType,
    a2: impl ToJSValue,
    a3_type: JSType,
    a3: impl ToJSValue,
    a4_type: JSType,
    a4: impl ToJSValue,
    a5_type: JSType,
    a5: impl ToJSValue,
    a6_type: JSType,
    a6: impl ToJSValue,
    a7_type: JSType,
    a7: impl ToJSValue,
    a8_type: JSType,
    a8: impl ToJSValue,
    a9_type: JSType,
    a9: impl ToJSValue,
    a10_type: JSType,
    a10: impl ToJSValue
) -> JSValue
[src]

Trait Implementations

impl Clone for JSFunction[src]

Auto Trait Implementations

impl Unpin for JSFunction

impl Send for JSFunction

impl Sync for JSFunction

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.