[−][src]Function clipboard_x11::cast_event
pub unsafe fn cast_event<T>(event: &'r Event<xcb_generic_event_t>) -> &'r T
Casts the generic event to the right event. Assumes that the given event is really the correct type.
pub unsafe fn cast_event<T>(event: &'r Event<xcb_generic_event_t>) -> &'r T
Casts the generic event to the right event. Assumes that the given event is really the correct type.