Enum v8::GarbageCollectionType
source · #[repr(C)]pub enum GarbageCollectionType {
Full,
Minor,
}
Expand description
Types of garbage collections that can be requested via
Isolate::request_garbage_collection_for_testing
.
Variants§
Trait Implementations§
source§impl Clone for GarbageCollectionType
impl Clone for GarbageCollectionType
source§fn clone(&self) -> GarbageCollectionType
fn clone(&self) -> GarbageCollectionType
Returns a copy 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 Debug for GarbageCollectionType
impl Debug for GarbageCollectionType
source§impl PartialEq<GarbageCollectionType> for GarbageCollectionType
impl PartialEq<GarbageCollectionType> for GarbageCollectionType
source§fn eq(&self, other: &GarbageCollectionType) -> bool
fn eq(&self, other: &GarbageCollectionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GarbageCollectionType
impl Eq for GarbageCollectionType
impl StructuralEq for GarbageCollectionType
impl StructuralPartialEq for GarbageCollectionType
Auto Trait Implementations§
impl RefUnwindSafe for GarbageCollectionType
impl Send for GarbageCollectionType
impl Sync for GarbageCollectionType
impl Unpin for GarbageCollectionType
impl UnwindSafe for GarbageCollectionType
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