#[repr(C)]
pub struct ReturnValue<'cb>(_, _);

Implementations

In V8 ReturnValue<> has a type parameter, but it turns out that in most of the APIs it’s ReturnValue and for our purposes we currently don’t need other types. So for now it’s a simplified version.

Getter. Creates a new Local<> so it comes with a certain performance hit. If the ReturnValue was not yet set, this will return the undefined value.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.