pub struct LinearVolume(/* private fields */);Expand description
Linear source volume multiplier. 1.0 is unity gain, 0.0 is silence, and values above one
amplify. This type prevents confusing libobs’s linear multiplier with decibels.
Implementations§
Trait Implementations§
Source§impl Clone for LinearVolume
impl Clone for LinearVolume
impl Copy for LinearVolume
Source§impl Debug for LinearVolume
impl Debug for LinearVolume
Source§impl PartialEq for LinearVolume
impl PartialEq for LinearVolume
impl StructuralPartialEq for LinearVolume
Auto Trait Implementations§
impl Forget for LinearVolume
impl Freeze for LinearVolume
impl Move for LinearVolume
impl RefUnwindSafe for LinearVolume
impl Send for LinearVolume
impl Sync for LinearVolume
impl Unpin for LinearVolume
impl UnsafeUnpin for LinearVolume
impl UnwindSafe for LinearVolume
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