Function erase
pub fn erase<P>(
run: impl Fn(&<P as Point>::Input, &mut <P as Point>::Value) -> Result<(), HookError> + Send + Sync + 'static,
) -> Arc<dyn Fn(&(dyn Any + Sync + Send + 'static), &mut (dyn Any + Send + 'static)) -> Result<(), HookError> + Sync + Send>where
P: Point,Expand description
Erases a typed listener of P.