#[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 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 for playdate_sound_effect_bitcrusher
impl PartialEq for playdate_sound_effect_bitcrusher
Source§fn eq(&self, other: &playdate_sound_effect_bitcrusher) -> bool
fn eq(&self, other: &playdate_sound_effect_bitcrusher) -> bool
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 StructuralPartialEq 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