#[repr(C)]pub struct event {
pub list_node: clist_node_t,
pub handler: event_handler_t,
}
Expand description
@brief event structure
Fields§
§list_node: clist_node_t
< event queue list entry
handler: event_handler_t
< pointer to event handler function
Trait Implementations§
impl Copy for event
Auto Trait Implementations§
impl RefUnwindSafe for event
impl !Send for event
impl !Sync for event
impl Unpin for event
impl UnwindSafe for event
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