Struct rsynth::event::Indexed [−][src]
Indexed<E>
adds an index to an event of type E
.
The index typically corresponds to the index of the channel.
Fields
index: usize
The index of the event.
event: E
The underlying event.
Implementations
impl<E> Indexed<E>
[src]
Trait Implementations
impl<E> AsMut<E> for Indexed<E>
[src]
impl<E> AsRef<E> for Indexed<E>
[src]
impl<E> Clone for Indexed<E> where
E: Clone,
[src]
E: Clone,
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<E> Copy for Indexed<E> where
E: Copy,
[src]
E: Copy,
impl<E: Debug> Debug for Indexed<E>
[src]
impl<E: Eq> Eq for Indexed<E>
[src]
impl<'c, 'mp, 'mw> EventHandler<Indexed<Timed<RawMidiEvent>>> for JackHost<'c, 'mp, 'mw>
[src]
fn handle_event(&mut self, event: Indexed<Timed<RawMidiEvent>>)
[src]
impl<'c, 'mp, 'mw, 'e> EventHandler<Indexed<Timed<SysExEvent<'e>>>> for JackHost<'c, 'mp, 'mw>
[src]
fn handle_event(&mut self, event: Indexed<Timed<SysExEvent<'_>>>)
[src]
impl<E: PartialEq> PartialEq<Indexed<E>> for Indexed<E>
[src]
impl<E> StructuralEq for Indexed<E>
[src]
impl<E> StructuralPartialEq for Indexed<E>
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for Indexed<E> where
E: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for Indexed<E> where
E: Send,
E: Send,
impl<E> Sync for Indexed<E> where
E: Sync,
E: Sync,
impl<E> Unpin for Indexed<E> where
E: Unpin,
E: Unpin,
impl<E> UnwindSafe for Indexed<E> where
E: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
T: FromSample<S> + ToSample<S>,
impl<T> From<T> for T
[src]
impl<S> FromSample<S> for S
pub fn from_sample_(s: S) -> S
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
U: FromSample<T>,
pub fn to_sample_(self) -> U
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,