[][src]Function input_sys::libinput_event_destroy

pub unsafe extern "C" fn libinput_event_destroy(event: *mut libinput_event)

@ingroup event

Destroy the event, freeing all associated resources. Resources obtained from this event must be considered invalid after this call.

@warning Unlike other structs events are considered transient and not refcounted. Calling libinput_event_destroy() will destroy the event.

@param event An event retrieved by libinput_get_event().