#[repr(C)]pub struct SpeexCallback {
pub callback_id: c_int,
pub func: speex_callback_func,
pub data: *mut c_void,
pub reserved1: *mut c_void,
pub reserved2: c_int,
}Expand description
Callback information
Fields§
§callback_id: c_int< ID associated to the callback
func: speex_callback_func< Callback handler function
data: *mut c_void< Data that will be sent to the handler
reserved1: *mut c_void< Reserved for future use
reserved2: c_int< Reserved for future use
Trait Implementations§
Source§impl Clone for SpeexCallback
impl Clone for SpeexCallback
Source§fn clone(&self) -> SpeexCallback
fn clone(&self) -> SpeexCallback
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 moreSource§impl Debug for SpeexCallback
impl Debug for SpeexCallback
impl Copy for SpeexCallback
Auto Trait Implementations§
impl Freeze for SpeexCallback
impl RefUnwindSafe for SpeexCallback
impl !Send for SpeexCallback
impl !Sync for SpeexCallback
impl Unpin for SpeexCallback
impl UnwindSafe for SpeexCallback
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