pub struct AudioStreamProcessorCallback<'a, F>{ /* private fields */ }
Expand description
This struct encapsulates a rust callback
and guarantees the lifetime to be long enough (’a)
(once get_as_user_data
is called, it the struct
should not be moved again! -> use Pin<..>)
Trait Implementations§
Auto Trait Implementations§
impl<'a, F> Freeze for AudioStreamProcessorCallback<'a, F>
impl<'a, F> RefUnwindSafe for AudioStreamProcessorCallback<'a, F>where
F: RefUnwindSafe,
impl<'a, F> Send for AudioStreamProcessorCallback<'a, F>where
F: Send,
impl<'a, F> Sync for AudioStreamProcessorCallback<'a, F>where
F: Sync,
impl<'a, F> Unpin for AudioStreamProcessorCallback<'a, F>
impl<'a, F> !UnwindSafe for AudioStreamProcessorCallback<'a, F>
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