Struct js::JSFunction[][src]

pub struct JSFunction { /* fields omitted */ }

Implementations

impl JSFunction[src]

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

pub fn invoke_1<A>(&self, a: A) -> f64 where
    A: Into<f64>, 
[src]

pub fn invoke_2<A, B>(&self, a: A, b: B) -> f64 where
    A: Into<f64>,
    B: Into<f64>, 
[src]

pub fn invoke_3<A, B, C>(&self, a: A, b: B, c: C) -> f64 where
    A: Into<f64>,
    B: Into<f64>,
    C: Into<f64>, 
[src]

pub fn invoke_4<A, B, C, D>(&self, a: A, b: B, c: C, d: D) -> f64 where
    A: Into<f64>,
    B: Into<f64>,
    C: Into<f64>,
    D: Into<f64>, 
[src]

pub fn invoke_5<A, B, C, D, E>(&self, a: A, b: B, c: C, d: D, e: E) -> f64 where
    A: Into<f64>,
    B: Into<f64>,
    C: Into<f64>,
    D: Into<f64>,
    E: Into<f64>, 
[src]

pub fn invoke_6<A, B, C, D, E, F>(
    &self,
    a: A,
    b: B,
    c: C,
    d: D,
    e: E,
    f: F
) -> f64 where
    A: Into<f64>,
    B: Into<f64>,
    C: Into<f64>,
    D: Into<f64>,
    E: Into<f64>,
    F: Into<f64>, 
[src]

pub fn invoke_7<A, B, C, D, E, F, G>(
    &self,
    a: A,
    b: B,
    c: C,
    d: D,
    e: E,
    f: F,
    g: G
) -> f64 where
    A: Into<f64>,
    B: Into<f64>,
    C: Into<f64>,
    D: Into<f64>,
    E: Into<f64>,
    F: Into<f64>,
    G: Into<f64>, 
[src]

pub fn invoke_8<A, B, C, D, E, F, G, H>(
    &self,
    a: A,
    b: B,
    c: C,
    d: D,
    e: E,
    f: F,
    g: G,
    h: H
) -> f64 where
    A: Into<f64>,
    B: Into<f64>,
    C: Into<f64>,
    D: Into<f64>,
    E: Into<f64>,
    F: Into<f64>,
    G: Into<f64>,
    H: Into<f64>, 
[src]

pub fn invoke_9<A, B, C, D, E, F, G, H, I>(
    &self,
    a: A,
    b: B,
    c: C,
    d: D,
    e: E,
    f: F,
    g: G,
    h: H,
    i: I
) -> f64 where
    A: Into<f64>,
    B: Into<f64>,
    C: Into<f64>,
    D: Into<f64>,
    E: Into<f64>,
    F: Into<f64>,
    G: Into<f64>,
    H: Into<f64>,
    I: Into<f64>, 
[src]

pub fn invoke_10<A, B, C, D, E, F, G, H, I, J>(
    &self,
    a: A,
    b: B,
    c: C,
    d: D,
    e: E,
    f: F,
    g: G,
    h: H,
    i: I,
    j: J
) -> f64 where
    A: Into<f64>,
    B: Into<f64>,
    C: Into<f64>,
    D: Into<f64>,
    E: Into<f64>,
    F: Into<f64>,
    G: Into<f64>,
    H: Into<f64>,
    I: Into<f64>,
    J: Into<f64>, 
[src]

Trait Implementations

impl Clone for JSFunction[src]

fn clone(&self) -> JSFunction[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<f64> for JSFunction[src]

fn from(f: f64) -> Self[src]

Performs the conversion.

impl Into<f64> for &JSFunction[src]

fn into(self) -> f64[src]

Performs the conversion.

impl Copy for JSFunction[src]

Auto Trait Implementations

impl Send for JSFunction

impl Sync for JSFunction

impl Unpin for JSFunction

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.