riot_sys::bindgen

Type Alias list_node_t

Source
pub type list_node_t = 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.

Aliased Type§

struct list_node_t {
    pub next: *mut list_node,
}

Fields§

§next: *mut list_node

< pointer to next list entry

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 4 bytes