pub enum ScaleMode {
Stretch,
Repeat,
}Variants§
Stretch
will strech audio if the elapsed time specified by interval is larger than the elapsed time of the audio
Repeat
will loop if the elapsed time specified by interval is larger than the elapsed time of the audio
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScaleMode
impl RefUnwindSafe for ScaleMode
impl Send for ScaleMode
impl Sync for ScaleMode
impl Unpin for ScaleMode
impl UnwindSafe for ScaleMode
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