[−][src]Struct rusty_v8::CreateParams
Initial configuration parameters for a new Isolate.
Implementations
impl CreateParams
[src]
pub fn snapshot_blob(self, data: impl Allocated<[u8]>) -> Self
[src]
Explicitly specify a startup snapshot blob.
pub fn array_buffer_allocator(
self,
array_buffer_allocator: impl Into<SharedPtr<ArrayBufferAllocator>>
) -> Self
[src]
self,
array_buffer_allocator: impl Into<SharedPtr<ArrayBufferAllocator>>
) -> Self
The ArrayBuffer::ArrayBufferAllocator to use for allocating and freeing the backing store of ArrayBuffers.
pub fn external_references(self, ext_refs: impl Allocated<[isize]>) -> Self
[src]
Specifies an optional nullptr-terminated array of raw addresses in the embedder that V8 can match against during serialization and use for deserialization. This array and its content must stay valid for the entire lifetime of the isolate.
pub fn allow_atomics_wait(self, value: bool) -> Self
[src]
Whether calling Atomics.wait (a function that may block) is allowed in this isolate. This can also be configured via SetAllowAtomicsWait.
pub fn only_terminate_in_safe_scope(self, value: bool) -> Self
[src]
Termination is postponed when there is no active SafeForTerminationScope.
pub fn embedder_wrapper_type_info_offsets(
self,
embedder_wrapper_type_index: int,
embedder_wrapper_object_index: int
) -> Self
[src]
self,
embedder_wrapper_type_index: int,
embedder_wrapper_object_index: int
) -> Self
The following parameters describe the offsets for addressing type info for wrapped API objects and are used by the fast C API (for details see v8-fast-api-calls.h).
Trait Implementations
impl Default for CreateParams
[src]
fn default() -> CreateParams
[src]
Auto Trait Implementations
impl !RefUnwindSafe for CreateParams
impl !Send for CreateParams
impl !Sync for CreateParams
impl Unpin for CreateParams
impl !UnwindSafe for CreateParams
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>,