[−][src]Struct dart_sys::Dart_InitializeParams
Describes how to initialize the VM. Used with Dart_Initialize.
\param version Identifies the version of the struct used by the client. should be initialized to DART_INITIALIZE_PARAMS_CURRENT_VERSION. \param vm_isolate_snapshot A buffer containing a snapshot of the VM isolate or NULL if no snapshot is provided. If provided, the buffer must remain valid until Dart_Cleanup returns. \param instructions_snapshot A buffer containing a snapshot of precompiled instructions, or NULL if no snapshot is provided. If provided, the buffer must remain valid until Dart_Cleanup returns. \param initialize_isolate A function to be called during isolate initialization inside an existing isolate group. See Dart_InitializeIsolateCallback. \param create_group A function to be called during isolate group creation. See Dart_IsolateGroupCreateCallback. \param shutdown A function to be called right before an isolate is shutdown. See Dart_IsolateShutdownCallback. \param cleanup A function to be called after an isolate was shutdown. See Dart_IsolateCleanupCallback. \param cleanup_group A function to be called after an isolate group is shutdown. See Dart_IsolateGroupCleanupCallback. \param get_service_assets A function to be called by the service isolate when it requires the vmservice assets archive. See Dart_GetVMServiceAssetsArchive. \param code_observer An external code observer callback function. The observer can be invoked as early as during the Dart_Initialize() call.
Fields
version: i32
vm_snapshot_data: *const u8
vm_snapshot_instructions: *const u8
create_group: Dart_IsolateGroupCreateCallback
initialize_isolate: Dart_InitializeIsolateCallback
shutdown_isolate: Dart_IsolateShutdownCallback
cleanup_isolate: Dart_IsolateCleanupCallback
cleanup_group: Dart_IsolateGroupCleanupCallback
thread_exit: Dart_ThreadExitCallback
file_open: Dart_FileOpenCallback
file_read: Dart_FileReadCallback
file_write: Dart_FileWriteCallback
file_close: Dart_FileCloseCallback
entropy_source: Dart_EntropySource
get_service_assets: Dart_GetVMServiceAssetsArchive
start_kernel_isolate: bool
code_observer: *mut Dart_CodeObserver
Trait Implementations
impl Clone for Dart_InitializeParams
[src]
fn clone(&self) -> Dart_InitializeParams
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Dart_InitializeParams
[src]
impl Debug for Dart_InitializeParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dart_InitializeParams
impl !Send for Dart_InitializeParams
impl !Sync for Dart_InitializeParams
impl Unpin for Dart_InitializeParams
impl UnwindSafe for Dart_InitializeParams
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,