[−][src]Struct rusty_v8::EscapableHandleScope
A HandleScope which first allocates a handle in the current scope which will be later filled with the escape value.
Methods
impl EscapableHandleScope
[src]
pub fn new(scope: &mut impl InIsolate) -> Scope<Self>
[src]
pub fn escape<'parent, T>(&mut self, value: Local<T>) -> Local<'parent, T>
[src]
Pushes the value into the previous scope and returns a handle to it. Cannot be called twice.
Trait Implementations
impl Drop for EscapableHandleScope
[src]
impl<'s> Scoped<'s> for EscapableHandleScope
[src]
type Args = &'s mut Isolate
fn enter_scope(buf: &mut MaybeUninit<Self>, isolate: &mut Isolate)
[src]
Auto Trait Implementations
impl RefUnwindSafe for EscapableHandleScope
impl Send for EscapableHandleScope
impl Sync for EscapableHandleScope
impl Unpin for EscapableHandleScope
impl UnwindSafe for EscapableHandleScope
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>,