[−][src]Struct tm_rs::ffi::tm_mixer_api
Fields
create: Option<unsafe extern "C" fn(*mut tm_allocator_i) -> *mut tm_mixer_o>
destroy: Option<unsafe extern "C" fn(*mut tm_mixer_o)>
default_mixer: Option<unsafe extern "C" fn() -> *mut tm_mixer_o>
set_default_mixer: Option<unsafe extern "C" fn(*mut tm_mixer_o)>
play: Option<unsafe extern "C" fn(*mut tm_mixer_o, Option<unsafe extern "C" fn(*const c_void, f64, *mut f32, u32, f32) -> u32>, *const c_void, u32, *const tm_mixer_settings_t, u32) -> *mut tm_mixer_item_o>
play_sine_wave: Option<unsafe extern "C" fn(*mut tm_mixer_o, *const tm_tone_t, *const tm_mixer_settings_t) -> *mut tm_mixer_item_o>
play_wav: Option<unsafe extern "C" fn(*mut tm_mixer_o, *mut tm_the_truth_o, tm_tt_id_t, bool, *const tm_mixer_settings_t) -> *mut tm_mixer_item_o>
volume: Option<unsafe extern "C" fn(*mut tm_mixer_item_o) -> f32>
set_volume: Option<unsafe extern "C" fn(*mut tm_mixer_item_o, f32)>
pitch: Option<unsafe extern "C" fn(*mut tm_mixer_item_o) -> f32>
set_pitch: Option<unsafe extern "C" fn(*mut tm_mixer_item_o, f32)>
offset: Option<unsafe extern "C" fn(*mut tm_mixer_item_o) -> f64>
set_offset: Option<unsafe extern "C" fn(*mut tm_mixer_item_o, f64)>
positioning: Option<unsafe extern "C" fn(*mut tm_mixer_item_o) -> *const tm_mixer_positioning_t>
set_positioning: Option<unsafe extern "C" fn(*mut tm_mixer_item_o, *const tm_mixer_positioning_t)>
listener: Option<unsafe extern "C" fn(*mut tm_mixer_o) -> tm_transform_t>
set_listener: Option<unsafe extern "C" fn(*mut tm_mixer_o, tm_transform_t)>
generation: Option<unsafe extern "C" fn(*mut tm_mixer_item_o) -> u64>
is_alive: Option<unsafe extern "C" fn(*mut tm_mixer_item_o, u64) -> bool>
pause: Option<unsafe extern "C" fn(*mut tm_mixer_item_o)>
unpause: Option<unsafe extern "C" fn(*mut tm_mixer_item_o)>
is_paused: Option<unsafe extern "C" fn(*mut tm_mixer_item_o) -> bool>
stop: Option<unsafe extern "C" fn(*mut tm_mixer_item_o)>
stop_world: Option<unsafe extern "C" fn(*mut tm_mixer_o, *mut c_void)>
pause_world: Option<unsafe extern "C" fn(*mut tm_mixer_o, *mut c_void)>
unpause_world: Option<unsafe extern "C" fn(*mut tm_mixer_o, *mut c_void)>
stop_all_sound: Option<unsafe extern "C" fn(*mut tm_mixer_o)>
commit: Option<unsafe extern "C" fn(*mut tm_mixer_o)>
render: Option<unsafe extern "C" fn(*mut tm_mixer_o, u32, u32) -> tm_mixer_render_t>
start_render_thread: Option<unsafe extern "C" fn(*mut tm_mixer_o)>
Trait Implementations
impl Clone for tm_mixer_api
[src]
pub fn clone(&self) -> tm_mixer_api
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tm_mixer_api
[src]
Auto Trait Implementations
impl RefUnwindSafe for tm_mixer_api
impl Send for tm_mixer_api
impl Sync for tm_mixer_api
impl Unpin for tm_mixer_api
impl UnwindSafe for tm_mixer_api
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,