Struct comfy_core::TrackHandle
source · pub struct TrackHandle { /* private fields */ }Expand description
Controls a mixer track.
When a TrackHandle is dropped, the corresponding mixer
track will be removed.
Implementations§
source§impl TrackHandle
impl TrackHandle
sourcepub fn set_volume(
&self,
volume: impl Into<Value<Volume>>,
tween: Tween
) -> Result<(), CommandError>
pub fn set_volume( &self, volume: impl Into<Value<Volume>>, tween: Tween ) -> Result<(), CommandError>
Sets the (post-effects) volume of the mixer track.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TrackHandle
impl Send for TrackHandle
impl Sync for TrackHandle
impl Unpin for TrackHandle
impl UnwindSafe for TrackHandle
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