pub struct TimeCaster<DT: MIDINum>(/* private fields */);Implementations§
Source§impl<DT: MIDINum> TimeCaster<DT>
impl<DT: MIDINum> TimeCaster<DT>
pub fn cast_event_delta<E: CastEventDelta<DT>, Err, I: Iterator<Item = Result<E, Err>> + Sized>( iter: I, ) -> impl Iterator<Item = Result<E::Output, Err>>
Auto Trait Implementations§
impl<DT> Freeze for TimeCaster<DT>where
DT: Freeze,
impl<DT> RefUnwindSafe for TimeCaster<DT>where
DT: RefUnwindSafe,
impl<DT> Send for TimeCaster<DT>
impl<DT> Sync for TimeCaster<DT>
impl<DT> Unpin for TimeCaster<DT>where
DT: Unpin,
impl<DT> UnsafeUnpin for TimeCaster<DT>where
DT: UnsafeUnpin,
impl<DT> UnwindSafe for TimeCaster<DT>where
DT: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more