Struct libfmod::DspDescription
source · [−]pub struct DspDescription {Show 26 fields
pub pluginsdkversion: u32,
pub name: [i8; 32],
pub version: u32,
pub numinputbuffers: i32,
pub numoutputbuffers: i32,
pub create: FMOD_DSP_CREATE_CALLBACK,
pub release: FMOD_DSP_RELEASE_CALLBACK,
pub reset: FMOD_DSP_RESET_CALLBACK,
pub read: FMOD_DSP_READ_CALLBACK,
pub process: FMOD_DSP_PROCESS_CALLBACK,
pub setposition: FMOD_DSP_SETPOSITION_CALLBACK,
pub numparameters: i32,
pub paramdesc: Vec<FMOD_DSP_PARAMETER_DESC>,
pub setparameterfloat: FMOD_DSP_SETPARAM_FLOAT_CALLBACK,
pub setparameterint: FMOD_DSP_SETPARAM_INT_CALLBACK,
pub setparameterbool: FMOD_DSP_SETPARAM_BOOL_CALLBACK,
pub setparameterdata: FMOD_DSP_SETPARAM_DATA_CALLBACK,
pub getparameterfloat: FMOD_DSP_GETPARAM_FLOAT_CALLBACK,
pub getparameterint: FMOD_DSP_GETPARAM_INT_CALLBACK,
pub getparameterbool: FMOD_DSP_GETPARAM_BOOL_CALLBACK,
pub getparameterdata: FMOD_DSP_GETPARAM_DATA_CALLBACK,
pub shouldiprocess: FMOD_DSP_SHOULDIPROCESS_CALLBACK,
pub userdata: *mut c_void,
pub sys_register: FMOD_DSP_SYSTEM_REGISTER_CALLBACK,
pub sys_deregister: FMOD_DSP_SYSTEM_DEREGISTER_CALLBACK,
pub sys_mix: FMOD_DSP_SYSTEM_MIX_CALLBACK,
}
Fields
pluginsdkversion: u32
name: [i8; 32]
version: u32
numinputbuffers: i32
numoutputbuffers: i32
create: FMOD_DSP_CREATE_CALLBACK
release: FMOD_DSP_RELEASE_CALLBACK
reset: FMOD_DSP_RESET_CALLBACK
read: FMOD_DSP_READ_CALLBACK
process: FMOD_DSP_PROCESS_CALLBACK
setposition: FMOD_DSP_SETPOSITION_CALLBACK
numparameters: i32
paramdesc: Vec<FMOD_DSP_PARAMETER_DESC>
setparameterfloat: FMOD_DSP_SETPARAM_FLOAT_CALLBACK
setparameterint: FMOD_DSP_SETPARAM_INT_CALLBACK
setparameterbool: FMOD_DSP_SETPARAM_BOOL_CALLBACK
setparameterdata: FMOD_DSP_SETPARAM_DATA_CALLBACK
getparameterfloat: FMOD_DSP_GETPARAM_FLOAT_CALLBACK
getparameterint: FMOD_DSP_GETPARAM_INT_CALLBACK
getparameterbool: FMOD_DSP_GETPARAM_BOOL_CALLBACK
getparameterdata: FMOD_DSP_GETPARAM_DATA_CALLBACK
shouldiprocess: FMOD_DSP_SHOULDIPROCESS_CALLBACK
userdata: *mut c_void
sys_register: FMOD_DSP_SYSTEM_REGISTER_CALLBACK
sys_deregister: FMOD_DSP_SYSTEM_DEREGISTER_CALLBACK
sys_mix: FMOD_DSP_SYSTEM_MIX_CALLBACK
Implementations
sourceimpl DspDescription
impl DspDescription
pub fn from(value: FMOD_DSP_DESCRIPTION) -> Result<DspDescription, Error>
pub fn into(self) -> FMOD_DSP_DESCRIPTION
Trait Implementations
sourceimpl Clone for DspDescription
impl Clone for DspDescription
sourcefn clone(&self) -> DspDescription
fn clone(&self) -> DspDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for DspDescription
impl !Send for DspDescription
impl !Sync for DspDescription
impl Unpin for DspDescription
impl UnwindSafe for DspDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more