#[repr(C)]
pub struct lean_task_imp { pub m_closure: *mut lean_object, pub m_head_dep: *mut lean_task, pub m_next_dep: *mut lean_task, pub m_prio: c_uint, pub m_canceled: u8, pub m_keep_alive: u8, pub m_deleted: u8, }
Expand description

Data required for executing a Lean task. It is released as soon as the task terminates even if the task object itself is still referenced.

Fields

m_closure: *mut lean_objectm_head_dep: *mut lean_taskm_next_dep: *mut lean_taskm_prio: c_uintm_canceled: u8m_keep_alive: u8

If true, task will not be freed until finished

m_deleted: u8

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

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.