Struct v8_sys::v8_PlatformFunctions [] [src]

#[repr(C)]
pub struct v8_PlatformFunctions { pub Destroy: Option<unsafe extern fn()>, pub NumberOfAvailableBackgroundThreads: Option<unsafe extern fn() -> c_ulong>, pub CallOnBackgroundThread: Option<unsafe extern fn(task: TaskPtr, expected_runtime: v8_ExpectedRuntime)>, pub CallOnForegroundThread: Option<unsafe extern fn(isolate: IsolatePtr, task: TaskPtr)>, pub CallDelayedOnForegroundThread: Option<unsafe extern fn(isolate: IsolatePtr, task: TaskPtr, delay_in_seconds: f64)>, pub CallIdleOnForegroundThread: Option<unsafe extern fn(isolate: IsolatePtr, task: IdleTaskPtr)>, pub IdleTasksEnabled: Option<unsafe extern fn(isolate: IsolatePtr) -> bool>, pub MonotonicallyIncreasingTime: Option<unsafe extern fn() -> f64>, }

Fields

Trait Implementations

impl Debug for v8_PlatformFunctions
[src]

Formats the value using the given formatter.

impl Copy for v8_PlatformFunctions
[src]

impl Clone for v8_PlatformFunctions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more