pub struct Volume(pub IntermediateSampleType);Expand description
Multiples the amplitude by the IntermediateSampleType (f64) value
Tuple Fields§
§0: IntermediateSampleTypeTrait Implementations§
Source§impl ModifierTrait for Volume
impl ModifierTrait for Volume
Source§fn modify(
&self,
samples: Samples<IntermediateSampleType>,
) -> Samples<IntermediateSampleType>
fn modify( &self, samples: Samples<IntermediateSampleType>, ) -> Samples<IntermediateSampleType>
Modifies the samples it is used upon. Read more
Auto Trait Implementations§
impl Freeze for Volume
impl RefUnwindSafe for Volume
impl Send for Volume
impl Sync for Volume
impl Unpin for Volume
impl UnwindSafe for Volume
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