Skip to main content

event_handler_count

Function event_handler_count 

Source
pub unsafe fn event_handler_count<H>(
    dispatcher: *mut EventDispatcher<H>,
) -> usize
Expand description

count() — how many handlers are registered.

§Safety

dispatcher must come from an accessor, or be null.