riot_sys::bindgen

Type Alias event_t

Source
pub type event_t = event;
Expand description

@brief event structure

Aliased Type§

struct event_t {
    pub list_node: list_node,
    pub handler: Option<unsafe extern "C" fn(_: *mut event)>,
}

Fields§

§list_node: list_node

< event queue list entry

§handler: Option<unsafe extern "C" fn(_: *mut event)>

< pointer to event handler function

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: 8 bytes

Trait Implementations

Source§

impl Clone for event

Source§

fn clone(&self) -> event

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for event

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for event

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for event