Struct riot_sys::list_node

source ·
#[repr(C)]
pub struct list_node { pub next: *mut list_node, }
Expand description

@brief List node structure

Used as is as reference to a list, or as member of any data structure that should be member of a list.

Actual list objects should have a @c list_node_t as member and then use the container_of() macro in list operations. See @ref thread_add_to_list() as example.

Fields§

§next: *mut list_node

< pointer to next list entry

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
Returns the “default value” for a type. 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 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.