[][src]Struct rusty_v8::FunctionCallbackArguments

pub struct FunctionCallbackArguments<'s> { /* fields omitted */ }

Implementations

impl<'s> FunctionCallbackArguments<'s>[src]

pub fn this(&self) -> Local<'s, Object>[src]

Returns the receiver. This corresponds to the "this" value.

pub fn data(&self) -> Option<Local<'s, Value>>[src]

Returns the data argument specified when creating the callback.

pub fn length(&self) -> int[src]

The number of available arguments.

pub fn get(&self, i: int) -> Local<'s, Value>[src]

Accessor for the available arguments. Returns undefined if the index is out of bounds.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.