pub struct EscapableHandleScope<'s, 'esc: 's, C = Context> { /* private fields */ }Expand description
A HandleScope which first allocates a handle in the current scope which will be later filled with the escape value.
Implementations§
Source§impl<'s, 'esc: 's> EscapableHandleScope<'s, 'esc>
impl<'s, 'esc: 's> EscapableHandleScope<'s, 'esc>
pub fn new<P: NewEscapableHandleScope<'s>>( scope: &'s mut P, ) -> ScopeStorage<P::NewScope>
Auto Trait Implementations§
impl<'s, 'esc, C = Context> !Freeze for EscapableHandleScope<'s, 'esc, C>
impl<'s, 'esc, C = Context> !RefUnwindSafe for EscapableHandleScope<'s, 'esc, C>
impl<'s, 'esc, C = Context> !Send for EscapableHandleScope<'s, 'esc, C>
impl<'s, 'esc, C = Context> !Sync for EscapableHandleScope<'s, 'esc, C>
impl<'s, 'esc, C = Context> !Unpin for EscapableHandleScope<'s, 'esc, C>
impl<'s, 'esc, C = Context> !UnwindSafe for EscapableHandleScope<'s, 'esc, C>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more