Function pointer_init

Source
pub fn pointer_init<T, E: IntoError, F: FnOnce(*mut T) -> E>(
    fun: F,
) -> Result<T, E::Error>