pub struct IntrResampleHandler {
interrupter: Arc<Mutex<Interrupter>>,
resample_evt: Event,
}Expand description
Interrupt Resample handler handles resample event. It will reassert interrupt if needed.
Fields§
§interrupter: Arc<Mutex<Interrupter>>§resample_evt: EventImplementations§
Source§impl IntrResampleHandler
impl IntrResampleHandler
Sourcepub fn start(
event_loop: &EventLoop,
interrupter: Arc<Mutex<Interrupter>>,
resample_evt: Event,
) -> Option<Arc<IntrResampleHandler>>
pub fn start( event_loop: &EventLoop, interrupter: Arc<Mutex<Interrupter>>, resample_evt: Event, ) -> Option<Arc<IntrResampleHandler>>
Start resample handler.
Trait Implementations§
Source§impl EventHandler for IntrResampleHandler
impl EventHandler for IntrResampleHandler
Auto Trait Implementations§
impl Freeze for IntrResampleHandler
impl RefUnwindSafe for IntrResampleHandler
impl Send for IntrResampleHandler
impl Sync for IntrResampleHandler
impl Unpin for IntrResampleHandler
impl UnwindSafe for IntrResampleHandler
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