Struct jack::ClosureProcessHandler [−][src]
pub struct ClosureProcessHandler<F: 'static + Send + FnMut(&Client, &ProcessScope) -> Control> {
pub process_fn: F,
}
Expand description
Wrap a closure that can handle the process
callback. This is called every time data from ports
is available from JACK.
Fields
process_fn: F
Implementations
impl<F> ClosureProcessHandler<F> where
F: 'static + Send + FnMut(&Client, &ProcessScope) -> Control,
impl<F> ClosureProcessHandler<F> where
F: 'static + Send + FnMut(&Client, &ProcessScope) -> Control,
Trait Implementations
impl<F> ProcessHandler for ClosureProcessHandler<F> where
F: 'static + Send + FnMut(&Client, &ProcessScope) -> Control,
impl<F> ProcessHandler for ClosureProcessHandler<F> where
F: 'static + Send + FnMut(&Client, &ProcessScope) -> Control,
Called whenever there is work to be done. Read more