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§
Trait Implementations§
Source§impl Clone for DistanceModelType
impl Clone for DistanceModelType
Source§fn clone(&self) -> DistanceModelType
fn clone(&self) -> DistanceModelType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DistanceModelType
impl Debug for DistanceModelType
Source§impl Default for DistanceModelType
impl Default for DistanceModelType
Source§fn default() -> DistanceModelType
fn default() -> DistanceModelType
Returns the “default value” for a type. Read more
Source§impl From<u8> for DistanceModelType
impl From<u8> for DistanceModelType
Source§impl PartialEq for DistanceModelType
impl PartialEq for DistanceModelType
impl Copy for DistanceModelType
impl Eq for DistanceModelType
impl StructuralPartialEq for DistanceModelType
Auto Trait Implementations§
impl Freeze for DistanceModelType
impl RefUnwindSafe for DistanceModelType
impl Send for DistanceModelType
impl Sync for DistanceModelType
impl Unpin for DistanceModelType
impl UnwindSafe for DistanceModelType
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