Struct hexodsp::nodes::MidiEventPointer
source · [−]pub struct MidiEventPointer<'a> {
buf: &'a [HxTimedEvent],
idx: usize,
}
Fields
buf: &'a [HxTimedEvent]
idx: usize
Implementations
sourceimpl<'a> MidiEventPointer<'a>
impl<'a> MidiEventPointer<'a>
pub fn new(buf: &'a [HxTimedEvent]) -> Self
pub fn next_at(&mut self, time: usize) -> Option<HxMidiEvent>
Auto Trait Implementations
impl<'a> RefUnwindSafe for MidiEventPointer<'a>
impl<'a> Send for MidiEventPointer<'a>
impl<'a> Sync for MidiEventPointer<'a>
impl<'a> Unpin for MidiEventPointer<'a>
impl<'a> UnwindSafe for MidiEventPointer<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more