Function rutie::util::closure_to_ptr

source ·
pub fn closure_to_ptr<F, R>(func: F) -> *const c_void
where F: FnMut() -> R,