pub fn remove_effect(&mut self, id: impl Into<EffectId>) -> Result<(), RemoveEffectError> {
		let id = id.into();
		if !self.active_effect_ids.remove(&id) {
			return Err(RemoveEffectError::NoEffectWithId(id));
		}
		self.command_producer
			.push(MixerCommand::RemoveEffect(self.id.into(), id).into())?;
		Ok(())
	}
/// Removes an effect from the track.
Removes an effect from the track.
Removes an effect from the track .
pub fn remove_effect(&mut self, id: impl Into<EffectId>) -> Result<(), RemoveEffectError> {
		let id = id.into();
		if !self.active_effect_ids.remove(&id) {
			return Err(RemoveEffectError::NoEffectWithId(id));
		}
		self.command_producer
			.push(MixerCommand::RemoveEffect(self.id.into(), id).into())?;
		Ok(())
	}
pub fn remove_effect ( & mut self , id : impl Into < EffectId > ) -> Result < ( ) , RemoveEffectError > { let id = id . into ( ) ; if ! self . active_effect_ids . remove ( & id ) { return Err ( RemoveEffectError :: NoEffectWithId ( id ) ) ; } self . command_producer . push ( MixerCommand :: RemoveEffect ( self . id . into ( ) , id ) . into ( ) ) ? ; Ok ( ( ) ) }
Removes an effect from the track.
Removes an effect from the track .
&mut self
id
impl Into<EffectId>
&mut self
id
impl Into<EffectId>