[−][src]Struct rusty_v8::ReturnValue
Methods
impl<'cb> ReturnValue<'cb>
[src]
In V8 ReturnValue<> has a type parameter, but
it turns out that in most of the APIs it's ReturnValue
pub fn set(&mut self, value: Local<Value>)
[src]
pub fn get_isolate(&mut self) -> &mut Isolate
[src]
Convenience getter for Isolate
pub fn get<'sc>(&mut self, scope: &mut impl ToLocal<'sc>) -> Local<'sc, Value>
[src]
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.
Auto Trait Implementations
impl<'cb> RefUnwindSafe for ReturnValue<'cb>
impl<'cb> !Send for ReturnValue<'cb>
impl<'cb> !Sync for ReturnValue<'cb>
impl<'cb> Unpin for ReturnValue<'cb>
impl<'cb> UnwindSafe for ReturnValue<'cb>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,