#[repr(C)]
pub struct playdate_sound_effect {
Show 13 fields pub newEffect: Option<unsafe extern "C" fn(proc_: effectProc, userdata: *mut c_void) -> *mut SoundEffect>, pub freeEffect: Option<unsafe extern "C" fn(effect: *mut SoundEffect)>, pub setMix: Option<unsafe extern "C" fn(effect: *mut SoundEffect, level: f32)>, pub setMixModulator: Option<unsafe extern "C" fn(effect: *mut SoundEffect, signal: *mut PDSynthSignalValue)>, pub getMixModulator: Option<unsafe extern "C" fn(effect: *mut SoundEffect) -> *mut PDSynthSignalValue>, pub setUserdata: Option<unsafe extern "C" fn(effect: *mut SoundEffect, userdata: *mut c_void)>, pub getUserdata: Option<unsafe extern "C" fn(effect: *mut SoundEffect) -> *mut c_void>, pub twopolefilter: *const playdate_sound_effect_twopolefilter, pub onepolefilter: *const playdate_sound_effect_onepolefilter, pub bitcrusher: *const playdate_sound_effect_bitcrusher, pub ringmodulator: *const playdate_sound_effect_ringmodulator, pub delayline: *const playdate_sound_effect_delayline, pub overdrive: *const playdate_sound_effect_overdrive,
}

Fields

newEffect: Option<unsafe extern "C" fn(proc_: effectProc, userdata: *mut c_void) -> *mut SoundEffect>freeEffect: Option<unsafe extern "C" fn(effect: *mut SoundEffect)>setMix: Option<unsafe extern "C" fn(effect: *mut SoundEffect, level: f32)>setMixModulator: Option<unsafe extern "C" fn(effect: *mut SoundEffect, signal: *mut PDSynthSignalValue)>getMixModulator: Option<unsafe extern "C" fn(effect: *mut SoundEffect) -> *mut PDSynthSignalValue>setUserdata: Option<unsafe extern "C" fn(effect: *mut SoundEffect, userdata: *mut c_void)>getUserdata: Option<unsafe extern "C" fn(effect: *mut SoundEffect) -> *mut c_void>twopolefilter: *const playdate_sound_effect_twopolefilteronepolefilter: *const playdate_sound_effect_onepolefilterbitcrusher: *const playdate_sound_effect_bitcrusherringmodulator: *const playdate_sound_effect_ringmodulatordelayline: *const playdate_sound_effect_delaylineoverdrive: *const playdate_sound_effect_overdrive

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.