#[repr(C)]pub struct Dart_InitializeParams {Show 18 fields
pub version: i32,
pub vm_snapshot_data: *const u8,
pub vm_snapshot_instructions: *const u8,
pub create_group: Dart_IsolateGroupCreateCallback,
pub initialize_isolate: Dart_InitializeIsolateCallback,
pub shutdown_isolate: Dart_IsolateShutdownCallback,
pub cleanup_isolate: Dart_IsolateCleanupCallback,
pub cleanup_group: Dart_IsolateGroupCleanupCallback,
pub thread_start: Dart_ThreadStartCallback,
pub thread_exit: Dart_ThreadExitCallback,
pub file_open: Dart_FileOpenCallback,
pub file_read: Dart_FileReadCallback,
pub file_write: Dart_FileWriteCallback,
pub file_close: Dart_FileCloseCallback,
pub entropy_source: Dart_EntropySource,
pub get_service_assets: Dart_GetVMServiceAssetsArchive,
pub start_kernel_isolate: bool,
pub code_observer: *mut Dart_CodeObserver,
}
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_start: Dart_ThreadStartCallback
§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§
Source§impl Clone for Dart_InitializeParams
impl Clone for Dart_InitializeParams
Source§fn clone(&self) -> Dart_InitializeParams
fn clone(&self) -> Dart_InitializeParams
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 Debug for Dart_InitializeParams
impl Debug for Dart_InitializeParams
impl Copy for Dart_InitializeParams
Auto Trait Implementations§
impl Freeze for Dart_InitializeParams
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§
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