PF_InteractCallbacks

Struct PF_InteractCallbacks 

Source
#[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

Source§

fn clone(&self) -> PF_InteractCallbacks

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PF_InteractCallbacks

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for PF_InteractCallbacks

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.