#[repr(C)]pub struct playdate_sound_effect_bitcrusher {
pub newBitCrusher: Option<unsafe extern "C" fn() -> *mut BitCrusher>,
pub freeBitCrusher: Option<unsafe extern "C" fn(filter: *mut BitCrusher)>,
pub setAmount: Option<unsafe extern "C" fn(filter: *mut BitCrusher, amount: f32)>,
pub setAmountModulator: Option<unsafe extern "C" fn(filter: *mut BitCrusher, signal: *mut PDSynthSignalValue)>,
pub getAmountModulator: Option<unsafe extern "C" fn(filter: *mut BitCrusher) -> *mut PDSynthSignalValue>,
pub setUndersampling: Option<unsafe extern "C" fn(filter: *mut BitCrusher, undersampling: f32)>,
pub setUndersampleModulator: Option<unsafe extern "C" fn(filter: *mut BitCrusher, signal: *mut PDSynthSignalValue)>,
pub getUndersampleModulator: Option<unsafe extern "C" fn(filter: *mut BitCrusher) -> *mut PDSynthSignalValue>,
}
Fields§
§newBitCrusher: Option<unsafe extern "C" fn() -> *mut BitCrusher>
§freeBitCrusher: Option<unsafe extern "C" fn(filter: *mut BitCrusher)>
§setAmount: Option<unsafe extern "C" fn(filter: *mut BitCrusher, amount: f32)>
§setAmountModulator: Option<unsafe extern "C" fn(filter: *mut BitCrusher, signal: *mut PDSynthSignalValue)>
§getAmountModulator: Option<unsafe extern "C" fn(filter: *mut BitCrusher) -> *mut PDSynthSignalValue>
§setUndersampling: Option<unsafe extern "C" fn(filter: *mut BitCrusher, undersampling: f32)>
§setUndersampleModulator: Option<unsafe extern "C" fn(filter: *mut BitCrusher, signal: *mut PDSynthSignalValue)>
§getUndersampleModulator: Option<unsafe extern "C" fn(filter: *mut BitCrusher) -> *mut PDSynthSignalValue>
Trait Implementations§
source§impl Clone for playdate_sound_effect_bitcrusher
impl Clone for playdate_sound_effect_bitcrusher
source§fn clone(&self) -> playdate_sound_effect_bitcrusher
fn clone(&self) -> playdate_sound_effect_bitcrusher
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_bitcrusher
impl Default for playdate_sound_effect_bitcrusher
source§fn default() -> playdate_sound_effect_bitcrusher
fn default() -> playdate_sound_effect_bitcrusher
Returns the “default value” for a type. Read more
source§impl PartialEq<playdate_sound_effect_bitcrusher> for playdate_sound_effect_bitcrusher
impl PartialEq<playdate_sound_effect_bitcrusher> for playdate_sound_effect_bitcrusher
source§fn eq(&self, other: &playdate_sound_effect_bitcrusher) -> bool
fn eq(&self, other: &playdate_sound_effect_bitcrusher) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for playdate_sound_effect_bitcrusher
impl Eq for playdate_sound_effect_bitcrusher
impl StructuralEq for playdate_sound_effect_bitcrusher
impl StructuralPartialEq for playdate_sound_effect_bitcrusher
Auto Trait Implementations§
impl RefUnwindSafe for playdate_sound_effect_bitcrusher
impl Send for playdate_sound_effect_bitcrusher
impl Sync for playdate_sound_effect_bitcrusher
impl Unpin for playdate_sound_effect_bitcrusher
impl UnwindSafe for playdate_sound_effect_bitcrusher
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