#[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 duplicate 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 moreimpl Copy for playdate_sound_effect_bitcrusher
Auto Trait Implementations§
impl Freeze for playdate_sound_effect_bitcrusher
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