Module erased_static

Source
Expand description

'static versions of the most popular functions.

This module contains a way to type erase popular functions for any requested type without using dynamic dispatch. It overcomes limitaions of generic free functions’ instances inheriting lifetime from a generic arguments.

Functions§

fn_call
fn_call_mut
fn_call_once
fn_drop
Get 'static function of drop on a P pointer type.
fn_poll_unforgotten