Struct kira::mixer::SubTrackSettings [−][src]
pub struct SubTrackSettings { pub id: Option<SubTrackId>, pub parent_track: TrackIndex, pub sends: TrackSends, pub volume: Value<f64>, pub num_effects: usize, }
Expand description
Settings for a mixer sub-track.
Fields
id: Option<SubTrackId>
The unique identifier for the track.
parent_track: TrackIndex
The track that this track’s output will be routed to.
sends: TrackSends
The send tracks that this track will be routed to (in addition to the parent track).
volume: Value<f64>
The volume of the track.
num_effects: usize
The maximum number of effects this track can hold.
Implementations
impl SubTrackSettings
[src]
impl SubTrackSettings
[src]pub fn id(self, id: impl Into<SubTrackId>) -> Self
[src]
pub fn id(self, id: impl Into<SubTrackId>) -> Self
[src]Sets the unique identifier for the track.
pub fn parent_track(self, parent_track: impl Into<TrackIndex>) -> Self
[src]
pub fn parent_track(self, parent_track: impl Into<TrackIndex>) -> Self
[src]Sets the track that this track’s output will be routed to.
pub fn sends(self, sends: TrackSends) -> Self
[src]
pub fn sends(self, sends: TrackSends) -> Self
[src]Sets the send tracks that this track will be routed to (in addition to the parent track).
pub fn num_effects(self, num_effects: usize) -> Self
[src]
pub fn num_effects(self, num_effects: usize) -> Self
[src]Sets the maximum number of effects this track can hold.
Trait Implementations
impl Clone for SubTrackSettings
[src]
impl Clone for SubTrackSettings
[src]fn clone(&self) -> SubTrackSettings
[src]
fn clone(&self) -> SubTrackSettings
[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 SubTrackSettings
[src]
impl Debug for SubTrackSettings
[src]Auto Trait Implementations
impl RefUnwindSafe for SubTrackSettings
impl Send for SubTrackSettings
impl Sync for SubTrackSettings
impl Unpin for SubTrackSettings
impl UnwindSafe for SubTrackSettings
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<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>,