pub struct TCTaskList { /* private fields */ }Expand description
***** TCTaskList *****
TCTaskList represents a list of tasks.
The content of this struct must be treated as read-only: no fields or anything they reference should be modified directly by C code.
When an item is taken from this list, its pointer in items is set to NULL.
typedef struct TCTaskList {
// number of tasks in items
size_t len;
// reserved
size_t _u1;
// Array of pointers representing each task. These remain owned by the TCTaskList instance and
// will be freed by tc_task_list_free. This pointer is never NULL for a valid TCTaskList.
// Pointers in the array may be NULL after `tc_task_list_take`.
struct TCTask **items;
} TCTaskList;Auto Trait Implementations§
impl !RefUnwindSafe for TCTaskList
impl !Send for TCTaskList
impl !Sync for TCTaskList
impl !UnwindSafe for TCTaskList
impl Freeze for TCTaskList
impl Unpin for TCTaskList
impl UnsafeUnpin for TCTaskList
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more