#[repr(u32)]pub enum IPLAirAbsorptionModelType {
IPL_AIRABSORPTIONTYPE_DEFAULT = 0,
IPL_AIRABSORPTIONTYPE_EXPONENTIAL = 1,
IPL_AIRABSORPTIONTYPE_CALLBACK = 2,
}Expand description
The types of air absorption that can be used.
Variants§
IPL_AIRABSORPTIONTYPE_DEFAULT = 0
The default air absorption model. This is an exponential falloff, with decay rates derived from physical properties of air.
IPL_AIRABSORPTIONTYPE_EXPONENTIAL = 1
An exponential falloff. You can configure the decay rates for each frequency band.
IPL_AIRABSORPTIONTYPE_CALLBACK = 2
An arbitrary air absorption model, defined by a callback function.
Trait Implementations§
Source§impl Clone for IPLAirAbsorptionModelType
impl Clone for IPLAirAbsorptionModelType
Source§fn clone(&self) -> IPLAirAbsorptionModelType
fn clone(&self) -> IPLAirAbsorptionModelType
Returns a duplicate 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 IPLAirAbsorptionModelType
impl Debug for IPLAirAbsorptionModelType
Source§impl Hash for IPLAirAbsorptionModelType
impl Hash for IPLAirAbsorptionModelType
impl Copy for IPLAirAbsorptionModelType
impl Eq for IPLAirAbsorptionModelType
impl StructuralPartialEq for IPLAirAbsorptionModelType
Auto Trait Implementations§
impl Freeze for IPLAirAbsorptionModelType
impl RefUnwindSafe for IPLAirAbsorptionModelType
impl Send for IPLAirAbsorptionModelType
impl Sync for IPLAirAbsorptionModelType
impl Unpin for IPLAirAbsorptionModelType
impl UnwindSafe for IPLAirAbsorptionModelType
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