#[repr(C)]pub struct playdate_sound_effect_ringmodulator {
pub newRingmod: Option<unsafe extern "C" fn() -> *mut RingModulator>,
pub freeRingmod: Option<unsafe extern "C" fn(filter: *mut RingModulator)>,
pub setFrequency: Option<unsafe extern "C" fn(filter: *mut RingModulator, frequency: f32)>,
pub setFrequencyModulator: Option<unsafe extern "C" fn(filter: *mut RingModulator, signal: *mut PDSynthSignalValue)>,
pub getFrequencyModulator: Option<unsafe extern "C" fn(filter: *mut RingModulator) -> *mut PDSynthSignalValue>,
}
Fields§
§newRingmod: Option<unsafe extern "C" fn() -> *mut RingModulator>
§freeRingmod: Option<unsafe extern "C" fn(filter: *mut RingModulator)>
§setFrequency: Option<unsafe extern "C" fn(filter: *mut RingModulator, frequency: f32)>
§setFrequencyModulator: Option<unsafe extern "C" fn(filter: *mut RingModulator, signal: *mut PDSynthSignalValue)>
§getFrequencyModulator: Option<unsafe extern "C" fn(filter: *mut RingModulator) -> *mut PDSynthSignalValue>
Trait Implementations§
source§impl Clone for playdate_sound_effect_ringmodulator
impl Clone for playdate_sound_effect_ringmodulator
source§fn clone(&self) -> playdate_sound_effect_ringmodulator
fn clone(&self) -> playdate_sound_effect_ringmodulator
Returns a copy 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 Default for playdate_sound_effect_ringmodulator
impl Default for playdate_sound_effect_ringmodulator
source§fn default() -> playdate_sound_effect_ringmodulator
fn default() -> playdate_sound_effect_ringmodulator
Returns the “default value” for a type. Read more
source§impl PartialEq<playdate_sound_effect_ringmodulator> for playdate_sound_effect_ringmodulator
impl PartialEq<playdate_sound_effect_ringmodulator> for playdate_sound_effect_ringmodulator
source§fn eq(&self, other: &playdate_sound_effect_ringmodulator) -> bool
fn eq(&self, other: &playdate_sound_effect_ringmodulator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for playdate_sound_effect_ringmodulator
impl Eq for playdate_sound_effect_ringmodulator
impl StructuralEq for playdate_sound_effect_ringmodulator
impl StructuralPartialEq for playdate_sound_effect_ringmodulator
Auto Trait Implementations§
impl RefUnwindSafe for playdate_sound_effect_ringmodulator
impl Send for playdate_sound_effect_ringmodulator
impl Sync for playdate_sound_effect_ringmodulator
impl Unpin for playdate_sound_effect_ringmodulator
impl UnwindSafe for playdate_sound_effect_ringmodulator
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