#[repr(C)]pub struct tm_sound_backend_api {
pub num_speakers: Option<unsafe extern "C" fn() -> u32>,
pub channel_mask: Option<unsafe extern "C" fn() -> u32>,
pub remaining_samples: Option<unsafe extern "C" fn() -> u32>,
pub feed: Option<unsafe extern "C" fn(*mut f32, u32)>,
pub wait: Option<unsafe extern "C" fn(f32)>,
pub signal: Option<unsafe extern "C" fn()>,
}Fields§
§num_speakers: Option<unsafe extern "C" fn() -> u32>§channel_mask: Option<unsafe extern "C" fn() -> u32>§remaining_samples: Option<unsafe extern "C" fn() -> u32>§feed: Option<unsafe extern "C" fn(*mut f32, u32)>§wait: Option<unsafe extern "C" fn(f32)>§signal: Option<unsafe extern "C" fn()>Trait Implementations§
Source§impl Clone for tm_sound_backend_api
impl Clone for tm_sound_backend_api
Source§fn clone(&self) -> tm_sound_backend_api
fn clone(&self) -> tm_sound_backend_api
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 tm_sound_backend_api
Auto Trait Implementations§
impl Freeze for tm_sound_backend_api
impl RefUnwindSafe for tm_sound_backend_api
impl Send for tm_sound_backend_api
impl Sync for tm_sound_backend_api
impl Unpin for tm_sound_backend_api
impl UnwindSafe for tm_sound_backend_api
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