Function xcb::base::cast_event [−][src]
pub unsafe fn cast_event<'r, T>(event: &'r GenericEvent) -> &'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<'r, T>(event: &'r GenericEvent) -> &'r T
Casts the generic event to the right event. Assumes that the given event is really the correct type.