#[repr(C)]pub struct oboe_AudioStreamCallbackWrapper {
pub _base: oboe_AudioStreamDataCallback,
pub _base_1: oboe_AudioStreamErrorCallback,
pub _context: *mut c_void,
pub _drop_context: oboe_DropContextHandler,
pub _audio_ready: oboe_AudioReadyHandler,
pub _before_close: oboe_ErrorCloseHandler,
pub _after_close: oboe_ErrorCloseHandler,
}
Fields§
§_base: oboe_AudioStreamDataCallback
§_base_1: oboe_AudioStreamErrorCallback
§_context: *mut c_void
§_drop_context: oboe_DropContextHandler
§_audio_ready: oboe_AudioReadyHandler
§_before_close: oboe_ErrorCloseHandler
§_after_close: oboe_ErrorCloseHandler
Implementations§
source§impl oboe_AudioStreamCallbackWrapper
impl oboe_AudioStreamCallbackWrapper
pub unsafe fn new( context: *mut c_void, drop_context: oboe_DropContextHandler, audio_ready: oboe_AudioReadyHandler, before_close: oboe_ErrorCloseHandler, after_close: oboe_ErrorCloseHandler ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for oboe_AudioStreamCallbackWrapper
impl !Send for oboe_AudioStreamCallbackWrapper
impl !Sync for oboe_AudioStreamCallbackWrapper
impl Unpin for oboe_AudioStreamCallbackWrapper
impl UnwindSafe for oboe_AudioStreamCallbackWrapper
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