Enum web_audio_api::node::DistanceModelType
source · pub enum DistanceModelType {
Linear,
Inverse,
Exponential,
}
Expand description
Algorithm to reduce the volume of an audio source as it moves away from the listener
Variants
Linear
Inverse
Exponential
Trait Implementations
sourceimpl Clone for DistanceModelType
impl Clone for DistanceModelType
sourcefn clone(&self) -> DistanceModelType
fn clone(&self) -> DistanceModelType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DistanceModelType
impl Debug for DistanceModelType
impl Copy for DistanceModelType
Auto Trait Implementations
impl RefUnwindSafe for DistanceModelType
impl Send for DistanceModelType
impl Sync for DistanceModelType
impl Unpin for DistanceModelType
impl UnwindSafe for DistanceModelType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more