pub enum PanLaw {
Linear,
ConstantPower,
Minus4_5dB,
}Expand description
Stereo balance law. Mono panning always uses constant power.
Variants§
Linear
Linear balance: attenuates only the opposite channel.
ConstantPower
Sine/cosine balance normalized to unity at the center; the default.
Minus4_5dB
Intermediate 4.5 dB pan law, normalized at the center.
Trait Implementations§
impl Copy for PanLaw
impl Eq for PanLaw
impl StructuralPartialEq for PanLaw
Auto Trait Implementations§
impl Forget for PanLaw
impl Freeze for PanLaw
impl Move for PanLaw
impl RefUnwindSafe for PanLaw
impl Send for PanLaw
impl Sync for PanLaw
impl Unpin for PanLaw
impl UnsafeUnpin for PanLaw
impl UnwindSafe for PanLaw
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