[][src]Struct rusty_v8::FunctionCallbackInfo

#[repr(C)]
pub struct FunctionCallbackInfo(_);

The argument information given to function call callbacks. This class provides access to information about the context of the call, including the receiver, the number and values of arguments, and the holder of the function.

Methods

impl FunctionCallbackInfo[src]

pub fn get_return_value(&self) -> ReturnValue[src]

The ReturnValue for the call.

pub fn get_isolate(&mut self) -> &mut Isolate[src]

The current Isolate.

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

The number of available arguments.

pub fn get_argument<'sc>(&mut self, i: int) -> Local<'sc, Value>[src]

Accessor for the available arguments.

Trait Implementations

impl InIsolate for FunctionCallbackInfo[src]

impl<'s> ToLocal<'s> for FunctionCallbackInfo[src]

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.