Function iter

fn iter<T, F>(inner: &mut F) -> Summary
where
    F: FnMut() -> T