#[repr(C)]
pub struct halide_profiler_state { pub lock: halide_mutex, pub sleep_time: c_int, pub first_free_id: c_int, pub current_func: c_int, pub active_threads: c_int, pub pipelines: *mut halide_profiler_pipeline_stats, pub get_remote_profiler_state: Option<unsafe extern "C" fn(func: *mut c_int, active_workers: *mut c_int)>, pub sampling_thread: *mut halide_thread, }

Fields

lock: halide_mutexsleep_time: c_intfirst_free_id: c_intcurrent_func: c_intactive_threads: c_intpipelines: *mut halide_profiler_pipeline_statsget_remote_profiler_state: Option<unsafe extern "C" fn(func: *mut c_int, active_workers: *mut c_int)>sampling_thread: *mut halide_thread

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.