pub enum AudioPitchMode {
PreservePitch,
FollowRate,
}Expand description
Pitch behavior requested from an audio processing chain.
Variants§
PreservePitch
Preserve the original pitch while changing playback speed.
FollowRate
Let pitch follow the playback rate.
Implementations§
Trait Implementations§
Source§impl Clone for AudioPitchMode
impl Clone for AudioPitchMode
Source§fn clone(&self) -> AudioPitchMode
fn clone(&self) -> AudioPitchMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AudioPitchMode
Source§impl Debug for AudioPitchMode
impl Debug for AudioPitchMode
Source§impl<'de> Deserialize<'de> for AudioPitchMode
impl<'de> Deserialize<'de> for AudioPitchMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AudioPitchMode
Source§impl PartialEq for AudioPitchMode
impl PartialEq for AudioPitchMode
Source§impl Serialize for AudioPitchMode
impl Serialize for AudioPitchMode
impl StructuralPartialEq for AudioPitchMode
Auto Trait Implementations§
impl Freeze for AudioPitchMode
impl RefUnwindSafe for AudioPitchMode
impl Send for AudioPitchMode
impl Sync for AudioPitchMode
impl Unpin for AudioPitchMode
impl UnsafeUnpin for AudioPitchMode
impl UnwindSafe for AudioPitchMode
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