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