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