#[repr(C)]pub struct playdate_sound_effect_ringmodulator {
pub newRingmod: Option<unsafe extern "C" fn() -> *mut RingModulator>,
pub freeRingmod: Option<unsafe extern "C" fn(filter: *mut RingModulator)>,
pub setFrequency: Option<unsafe extern "C" fn(filter: *mut RingModulator, frequency: c_float)>,
pub setFrequencyModulator: Option<unsafe extern "C" fn(filter: *mut RingModulator, signal: *mut PDSynthSignalValue)>,
pub getFrequencyModulator: Option<unsafe extern "C" fn(filter: *mut RingModulator) -> *mut PDSynthSignalValue>,
}Fields§
§newRingmod: Option<unsafe extern "C" fn() -> *mut RingModulator>§freeRingmod: Option<unsafe extern "C" fn(filter: *mut RingModulator)>§setFrequency: Option<unsafe extern "C" fn(filter: *mut RingModulator, frequency: c_float)>§setFrequencyModulator: Option<unsafe extern "C" fn(filter: *mut RingModulator, signal: *mut PDSynthSignalValue)>§getFrequencyModulator: Option<unsafe extern "C" fn(filter: *mut RingModulator) -> *mut PDSynthSignalValue>Trait Implementations§
source§impl Clone for playdate_sound_effect_ringmodulator
impl Clone for playdate_sound_effect_ringmodulator
source§fn clone(&self) -> playdate_sound_effect_ringmodulator
fn clone(&self) -> playdate_sound_effect_ringmodulator
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for playdate_sound_effect_ringmodulator
impl Debug for playdate_sound_effect_ringmodulator
source§impl Default for playdate_sound_effect_ringmodulator
impl Default for playdate_sound_effect_ringmodulator
source§fn default() -> playdate_sound_effect_ringmodulator
fn default() -> playdate_sound_effect_ringmodulator
Returns the “default value” for a type. Read more
source§impl Hash for playdate_sound_effect_ringmodulator
impl Hash for playdate_sound_effect_ringmodulator
source§impl Ord for playdate_sound_effect_ringmodulator
impl Ord for playdate_sound_effect_ringmodulator
source§fn cmp(&self, other: &playdate_sound_effect_ringmodulator) -> Ordering
fn cmp(&self, other: &playdate_sound_effect_ringmodulator) -> Ordering
1.21.0§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for playdate_sound_effect_ringmodulator
impl PartialEq for playdate_sound_effect_ringmodulator
source§fn eq(&self, other: &playdate_sound_effect_ringmodulator) -> bool
fn eq(&self, other: &playdate_sound_effect_ringmodulator) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for playdate_sound_effect_ringmodulator
impl PartialOrd for playdate_sound_effect_ringmodulator
source§fn partial_cmp(
&self,
other: &playdate_sound_effect_ringmodulator
) -> Option<Ordering>
fn partial_cmp( &self, other: &playdate_sound_effect_ringmodulator ) -> Option<Ordering>
1.0.0§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for playdate_sound_effect_ringmodulator
impl Eq for playdate_sound_effect_ringmodulator
impl StructuralEq for playdate_sound_effect_ringmodulator
impl StructuralPartialEq for playdate_sound_effect_ringmodulator
Auto Trait Implementations§
impl RefUnwindSafe for playdate_sound_effect_ringmodulator
impl Send for playdate_sound_effect_ringmodulator
impl Sync for playdate_sound_effect_ringmodulator
impl Unpin for playdate_sound_effect_ringmodulator
impl UnwindSafe for playdate_sound_effect_ringmodulator
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 20 bytes