#[repr(C)]pub struct AttenuationRange {
pub min: c_float,
pub max: c_float,
}
Expand description
Attenuation range parameter data structure.
The studio::System
will set this parameter automatically if an studio::EventInstance
min or max distance changes.
Fields§
§min: c_float
Minimum distance for attenuation.
max: c_float
Maximum distance for attenuation.
Trait Implementations§
Source§impl Clone for AttenuationRange
impl Clone for AttenuationRange
Source§fn clone(&self) -> AttenuationRange
fn clone(&self) -> AttenuationRange
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 AttenuationRange
impl Debug for AttenuationRange
Source§impl PartialEq for AttenuationRange
impl PartialEq for AttenuationRange
Source§impl ReadableParameter for AttenuationRange
impl ReadableParameter for AttenuationRange
Source§fn get_parameter_string(dsp: Dsp, index: c_int) -> Result<Utf8CString>
fn get_parameter_string(dsp: Dsp, index: c_int) -> Result<Utf8CString>
Get the parameter string at
index
.impl Copy for AttenuationRange
impl StructuralPartialEq for AttenuationRange
Auto Trait Implementations§
impl Freeze for AttenuationRange
impl RefUnwindSafe for AttenuationRange
impl Send for AttenuationRange
impl Sync for AttenuationRange
impl Unpin for AttenuationRange
impl UnwindSafe for AttenuationRange
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