#[repr(C, packed(1))]pub struct SpatialAudioHrtfDistanceDecay {
pub Type: SpatialAudioHrtfDistanceDecayType,
pub MaxGain: f32,
pub MinGain: f32,
pub UnityGainDistance: f32,
pub CutoffDistance: f32,
}Fields§
§Type: SpatialAudioHrtfDistanceDecayType§MaxGain: f32§MinGain: f32§UnityGainDistance: f32§CutoffDistance: f32Trait Implementations§
Source§impl Abi for SpatialAudioHrtfDistanceDecay
impl Abi for SpatialAudioHrtfDistanceDecay
Source§type Abi = SpatialAudioHrtfDistanceDecay
type Abi = SpatialAudioHrtfDistanceDecay
The abi representation of the implementing type. Read more
Source§fn set_abi(&mut self) -> *mut Self::Abi
fn set_abi(&mut self) -> *mut Self::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
unsafe fn from_abi(abi: Self::Abi) -> Result<Self, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl Clone for SpatialAudioHrtfDistanceDecay
impl Clone for SpatialAudioHrtfDistanceDecay
Source§fn clone(&self) -> SpatialAudioHrtfDistanceDecay
fn clone(&self) -> SpatialAudioHrtfDistanceDecay
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 moreimpl Copy for SpatialAudioHrtfDistanceDecay
Auto Trait Implementations§
impl Freeze for SpatialAudioHrtfDistanceDecay
impl RefUnwindSafe for SpatialAudioHrtfDistanceDecay
impl Send for SpatialAudioHrtfDistanceDecay
impl Sync for SpatialAudioHrtfDistanceDecay
impl Unpin for SpatialAudioHrtfDistanceDecay
impl UnwindSafe for SpatialAudioHrtfDistanceDecay
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