midi-toolkit-rs 0.3.1

A library for ultra high performance MIDI operations, designed for black MIDI. The library isn't perfect
Documentation
1
2
3
4
5
6
/// Wraps each item `T` into `Result<T, ()>`
///
/// Useful because all built in functions use Result as the item type for error handling
pub fn wrap_ok<T, I: Iterator<Item = T> + Sized>(iter: I) -> impl Iterator<Item = Result<T, ()>> {
    iter.map(|v| Ok(v))
}