Enum alto::DistanceModel [−][src]
pub enum DistanceModel { None, Inverse, InverseClamped, Linear, LinearClamped, Exponent, ExponentClamped, Unknown(ALint), }
The gain curve of sources as a function of distance to the listener.
Variants
None
AL_NONE
Inverse
AL_INVERSE_DISTANCE
InverseClamped
AL_INVERSE_DISTANCE_CLAMPED
Linear
AL_LINEAR_DISTANCE
LinearClamped
AL_LINEAR_DISTANCE_CLAMPED
Exponent
AL_EXPONENT_DISTANCE
ExponentClamped
AL_EXPONENT_DISTANCE_CLAMPLED
Unknown(ALint)
Trait Implementations
impl Copy for DistanceModel
[src]
impl Copy for DistanceModel
impl Clone for DistanceModel
[src]
impl Clone for DistanceModel
fn clone(&self) -> DistanceModel
[src]
fn clone(&self) -> DistanceModel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for DistanceModel
[src]
impl PartialEq for DistanceModel
fn eq(&self, other: &DistanceModel) -> bool
[src]
fn eq(&self, other: &DistanceModel) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DistanceModel) -> bool
[src]
fn ne(&self, other: &DistanceModel) -> bool
This method tests for !=
.
impl Eq for DistanceModel
[src]
impl Eq for DistanceModel
impl Hash for DistanceModel
[src]
impl Hash for DistanceModel
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for DistanceModel
[src]
impl Debug for DistanceModel
Auto Trait Implementations
impl Send for DistanceModel
impl Send for DistanceModel
impl Sync for DistanceModel
impl Sync for DistanceModel