Struct halide_runtime::runtime::halide_parallel_task_t
source · [−]#[repr(C)]pub struct halide_parallel_task_t {
pub fn_: halide_loop_task_t,
pub closure: *mut u8,
pub name: *const c_char,
pub semaphores: *mut halide_semaphore_acquire_t,
pub num_semaphores: c_int,
pub min: c_int,
pub extent: c_int,
pub min_threads: c_int,
pub serial: bool,
}Fields
fn_: halide_loop_task_tclosure: *mut u8name: *const c_charsemaphores: *mut halide_semaphore_acquire_tnum_semaphores: c_intmin: c_intextent: c_intmin_threads: c_intserial: boolTrait Implementations
sourceimpl Clone for halide_parallel_task_t
impl Clone for halide_parallel_task_t
sourcefn clone(&self) -> halide_parallel_task_t
fn clone(&self) -> halide_parallel_task_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for halide_parallel_task_t
impl Debug for halide_parallel_task_t
impl Copy for halide_parallel_task_t
Auto Trait Implementations
impl RefUnwindSafe for halide_parallel_task_t
impl !Send for halide_parallel_task_t
impl !Sync for halide_parallel_task_t
impl Unpin for halide_parallel_task_t
impl UnwindSafe for halide_parallel_task_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more