Type Alias veloren_rtsim::EventHandlersOf
source · pub(crate) type EventHandlersOf<E> = Vec<Box<dyn Fn(&RtState, &World, IndexRef<'_>, &E) + Send + Sync + 'static>>;
Aliased Type§
struct EventHandlersOf<E> {
buf: RawVec<Box<dyn Fn(&RtState, &World, IndexRef<'_>, &E) + Send + Sync>>,
len: usize,
}
Fields§
§buf: RawVec<Box<dyn Fn(&RtState, &World, IndexRef<'_>, &E) + Send + Sync>>
§len: usize