pub enum Rolloff {
InverseSquare,
Linear,
Exponential,
}Expand description
Distance rolloff model for spatial audio.
Variants§
Trait Implementations§
impl Copy for Rolloff
Source§impl<'de> Deserialize<'de> for Rolloff
impl<'de> Deserialize<'de> for Rolloff
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Rolloff
impl StructuralPartialEq for Rolloff
Auto Trait Implementations§
impl Forget for Rolloff
impl Freeze for Rolloff
impl RefUnwindSafe for Rolloff
impl Send for Rolloff
impl Sync for Rolloff
impl Unpin for Rolloff
impl UnsafeUnpin for Rolloff
impl UnwindSafe for Rolloff
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