Struct kira::mixer::SendTrackHandle [−][src]
pub struct SendTrackHandle { /* fields omitted */ }
Expand description
Allows you to control a mixer send track.
Implementations
impl SendTrackHandle
[src]
impl SendTrackHandle
[src]pub fn id(&self) -> SendTrackId
[src]
pub fn id(&self) -> SendTrackId
[src]Gets the track that this handle controls.
pub fn set_volume(
&mut self,
volume: impl Into<Value<f64>>
) -> Result<(), CommandError>
[src]
pub fn set_volume(
&mut self,
volume: impl Into<Value<f64>>
) -> Result<(), CommandError>
[src]Sets the volume of the track.
pub fn add_effect(
&mut self,
effect: impl Effect + 'static,
settings: EffectSettings
) -> Result<EffectHandle, AddEffectError>
[src]
pub fn add_effect(
&mut self,
effect: impl Effect + 'static,
settings: EffectSettings
) -> Result<EffectHandle, AddEffectError>
[src]Adds an effect to the track.
Trait Implementations
impl From<&'_ SendTrackHandle> for SendTrackId
[src]
impl From<&'_ SendTrackHandle> for SendTrackId
[src]fn from(handle: &SendTrackHandle) -> Self
[src]
fn from(handle: &SendTrackHandle) -> Self
[src]Performs the conversion.
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.
Auto Trait Implementations
impl RefUnwindSafe for SendTrackHandle
impl Send for SendTrackHandle
impl Sync for SendTrackHandle
impl Unpin for SendTrackHandle
impl UnwindSafe for SendTrackHandle
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<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,