#[repr(C)]
pub struct playdate_sound_effect_overdrive { pub newOverdrive: Option<unsafe extern "C" fn() -> *mut Overdrive>, pub freeOverdrive: Option<unsafe extern "C" fn(filter: *mut Overdrive)>, pub setGain: Option<unsafe extern "C" fn(o: *mut Overdrive, gain: f32)>, pub setLimit: Option<unsafe extern "C" fn(o: *mut Overdrive, limit: f32)>, pub setLimitModulator: Option<unsafe extern "C" fn(o: *mut Overdrive, mod_: *mut PDSynthSignalValue)>, pub getLimitModulator: Option<unsafe extern "C" fn(o: *mut Overdrive) -> *mut PDSynthSignalValue>, pub setOffset: Option<unsafe extern "C" fn(o: *mut Overdrive, offset: f32)>, pub setOffsetModulator: Option<unsafe extern "C" fn(o: *mut Overdrive, mod_: *mut PDSynthSignalValue)>, pub getOffsetModulator: Option<unsafe extern "C" fn(o: *mut Overdrive) -> *mut PDSynthSignalValue>, }

Fields

newOverdrive: Option<unsafe extern "C" fn() -> *mut Overdrive>freeOverdrive: Option<unsafe extern "C" fn(filter: *mut Overdrive)>setGain: Option<unsafe extern "C" fn(o: *mut Overdrive, gain: f32)>setLimit: Option<unsafe extern "C" fn(o: *mut Overdrive, limit: f32)>setLimitModulator: Option<unsafe extern "C" fn(o: *mut Overdrive, mod_: *mut PDSynthSignalValue)>getLimitModulator: Option<unsafe extern "C" fn(o: *mut Overdrive) -> *mut PDSynthSignalValue>setOffset: Option<unsafe extern "C" fn(o: *mut Overdrive, offset: f32)>setOffsetModulator: Option<unsafe extern "C" fn(o: *mut Overdrive, mod_: *mut PDSynthSignalValue)>getOffsetModulator: Option<unsafe extern "C" fn(o: *mut Overdrive) -> *mut PDSynthSignalValue>

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.