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