#[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
sourceimpl Clone for playdate_sound_effect_bitcrusher
impl Clone for playdate_sound_effect_bitcrusher
sourcefn clone(&self) -> playdate_sound_effect_bitcrusher
fn clone(&self) -> playdate_sound_effect_bitcrusher
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for playdate_sound_effect_bitcrusher
impl Default for playdate_sound_effect_bitcrusher
sourcefn default() -> playdate_sound_effect_bitcrusher
fn default() -> playdate_sound_effect_bitcrusher
Returns the “default value” for a type. Read more
sourceimpl PartialEq<playdate_sound_effect_bitcrusher> for playdate_sound_effect_bitcrusher
impl PartialEq<playdate_sound_effect_bitcrusher> for playdate_sound_effect_bitcrusher
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &playdate_sound_effect_bitcrusher) -> bool
fn ne(&self, other: &playdate_sound_effect_bitcrusher) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more