Enum kira::mixer::TrackIndex [−][src]
pub enum TrackIndex { Main, Sub(SubTrackId), Send(SendTrackId), }
Expand description
An identifier for a mixer track.
Variants
The main track.
All sub-tracks are sent to the main track as input, and the output of the main track is what you hear.
Sub(SubTrackId)
A sub-track.
Sub-tracks are useful for adjusting the volumes of and applying effects to certain kinds of sounds. For example, in a game, you may have one sub-track for sound effects and another for music.
Send(SendTrackId)
A send track.
Send tracks are useful for routing multiple sub-tracks into the same set of effects. This can save processing power and avoid redundant effect configuration.
Trait Implementations
impl Clone for TrackIndex
[src]
impl Clone for TrackIndex
[src]fn clone(&self) -> TrackIndex
[src]
fn clone(&self) -> TrackIndex
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for TrackIndex
[src]
impl Debug for TrackIndex
[src]impl Default for TrackIndex
[src]
impl Default for TrackIndex
[src]impl From<&'_ SendTrackHandle> for TrackIndex
[src]
impl From<&'_ SendTrackHandle> for TrackIndex
[src]fn from(handle: &SendTrackHandle) -> Self
[src]
fn from(handle: &SendTrackHandle) -> Self
[src]Performs the conversion.
impl From<&'_ SubTrackHandle> for TrackIndex
[src]
impl From<&'_ SubTrackHandle> for TrackIndex
[src]fn from(handle: &SubTrackHandle) -> Self
[src]
fn from(handle: &SubTrackHandle) -> Self
[src]Performs the conversion.
impl From<SendTrackId> for TrackIndex
[src]
impl From<SendTrackId> for TrackIndex
[src]fn from(id: SendTrackId) -> Self
[src]
fn from(id: SendTrackId) -> Self
[src]Performs the conversion.
impl From<SubTrackId> for TrackIndex
[src]
impl From<SubTrackId> for TrackIndex
[src]fn from(id: SubTrackId) -> Self
[src]
fn from(id: SubTrackId) -> Self
[src]Performs the conversion.
impl From<TrackIndex> for InstanceTrackIndex
[src]
impl From<TrackIndex> for InstanceTrackIndex
[src]fn from(index: TrackIndex) -> Self
[src]
fn from(index: TrackIndex) -> Self
[src]Performs the conversion.
impl Hash for TrackIndex
[src]
impl Hash for TrackIndex
[src]impl PartialEq<TrackIndex> for TrackIndex
[src]
impl PartialEq<TrackIndex> for TrackIndex
[src]fn eq(&self, other: &TrackIndex) -> bool
[src]
fn eq(&self, other: &TrackIndex) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &TrackIndex) -> bool
[src]
fn ne(&self, other: &TrackIndex) -> bool
[src]This method tests for !=
.
impl Copy for TrackIndex
[src]
impl Eq for TrackIndex
[src]
impl StructuralEq for TrackIndex
[src]
impl StructuralPartialEq for TrackIndex
[src]
Auto Trait Implementations
impl RefUnwindSafe for TrackIndex
impl Send for TrackIndex
impl Sync for TrackIndex
impl Unpin for TrackIndex
impl UnwindSafe for TrackIndex
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,