#[repr(C)]pub struct HandleScope {
pub align_to_pointer: [*mut c_void; 0],
pub fields: [u8; 24],
}Expand description
A V8 HandleScope.
A HandleScope contains Local handles. HandleScopes are used by V8 to help the garbage
collector do its bookkeeping. Once a new HandleScope is created all subsequently created
Local handles will be contained in it.
Fields§
§align_to_pointer: [*mut c_void; 0]§fields: [u8; 24]Implementations§
Source§impl HandleScope
impl HandleScope
pub fn new() -> HandleScope
Trait Implementations§
Source§impl Clone for HandleScope
impl Clone for HandleScope
Source§fn clone(&self) -> HandleScope
fn clone(&self) -> HandleScope
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for HandleScope
impl Default for HandleScope
impl Copy for HandleScope
Auto Trait Implementations§
impl Freeze for HandleScope
impl RefUnwindSafe for HandleScope
impl !Send for HandleScope
impl !Sync for HandleScope
impl Unpin for HandleScope
impl UnwindSafe for HandleScope
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