#[repr(C)]pub struct PF_InteractCallbacks {
pub checkout_param: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, index: PF_ParamIndex, what_time: A_long, time_step: A_long, time_scale: A_u_long, param: *mut PF_ParamDef) -> PF_Err>,
pub checkin_param: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, param: *mut PF_ParamDef) -> PF_Err>,
pub add_param: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, index: PF_ParamIndex, def: PF_ParamDefPtr) -> PF_Err>,
pub abort: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>,
pub progress: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, current: A_long, total: A_long) -> PF_Err>,
pub register_ui: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, cust_info: *mut PF_CustomUIInfo) -> PF_Err>,
pub checkout_layer_audio: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, index: PF_ParamIndex, start_time: A_long, duration: A_long, time_scale: A_u_long, rate: PF_UFixed, bytes_per_sample: A_long, num_channels: A_long, fmt_signed: A_long, audio: *mut PF_LayerAudio) -> PF_Err>,
pub checkin_layer_audio: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, audio: PF_LayerAudio) -> PF_Err>,
pub get_audio_data: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, audio: PF_LayerAudio, data0: *mut PF_SndSamplePtr, num_samples0: *mut A_long, rate0: *mut PF_UFixed, bytes_per_sample0: *mut A_long, num_channels0: *mut A_long, fmt_signed0: *mut A_long) -> PF_Err>,
pub reserved_str: [*mut c_void; 3],
pub reserved: [*mut c_void; 10],
}Fields§
§checkout_param: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, index: PF_ParamIndex, what_time: A_long, time_step: A_long, time_scale: A_u_long, param: *mut PF_ParamDef) -> PF_Err>§checkin_param: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, param: *mut PF_ParamDef) -> PF_Err>§add_param: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, index: PF_ParamIndex, def: PF_ParamDefPtr) -> PF_Err>§abort: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr) -> PF_Err>§progress: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, current: A_long, total: A_long) -> PF_Err>§register_ui: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, cust_info: *mut PF_CustomUIInfo) -> PF_Err>§checkout_layer_audio: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, index: PF_ParamIndex, start_time: A_long, duration: A_long, time_scale: A_u_long, rate: PF_UFixed, bytes_per_sample: A_long, num_channels: A_long, fmt_signed: A_long, audio: *mut PF_LayerAudio) -> PF_Err>§checkin_layer_audio: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, audio: PF_LayerAudio) -> PF_Err>§get_audio_data: Option<unsafe extern "C" fn(effect_ref: PF_ProgPtr, audio: PF_LayerAudio, data0: *mut PF_SndSamplePtr, num_samples0: *mut A_long, rate0: *mut PF_UFixed, bytes_per_sample0: *mut A_long, num_channels0: *mut A_long, fmt_signed0: *mut A_long) -> PF_Err>§reserved_str: [*mut c_void; 3]§reserved: [*mut c_void; 10]Trait Implementations§
Source§impl Clone for PF_InteractCallbacks
impl Clone for PF_InteractCallbacks
Source§fn clone(&self) -> PF_InteractCallbacks
fn clone(&self) -> PF_InteractCallbacks
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 PF_InteractCallbacks
impl Debug for PF_InteractCallbacks
impl Copy for PF_InteractCallbacks
Auto Trait Implementations§
impl Freeze for PF_InteractCallbacks
impl RefUnwindSafe for PF_InteractCallbacks
impl !Send for PF_InteractCallbacks
impl !Sync for PF_InteractCallbacks
impl Unpin for PF_InteractCallbacks
impl UnwindSafe for PF_InteractCallbacks
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