pub fn new<F>(source: S, callback: F) -> Self
    where
        F: FnMut(S::Event, &mut S::Metadata, &mut Data) -> S::Ret + 'a,
    {
        Dispatcher(Rc::new(RefCell::new(DispatcherInner { source, callback })))
    }
/// Builds a dispatcher.
///
/// The resulting `Dispatcher`
Builds a dispatcher.
The resulting `Dispatcher`
Builds a dispatcher . The resulting ` Dispatcher `
pub fn new<F>(source: S, callback: F) -> Self
    where
        F: FnMut(S::Event, &mut S::Metadata, &mut Data) -> S::Ret + 'a,
    {
        Dispatcher(Rc::new(RefCell::new(DispatcherInner { source, callback })))
    }
pub fn new < F > ( source : S , callback : F ) -> Self where F : FnMut ( S :: Event , & mut S :: Metadata , & mut Data ) -> S :: Ret + ' a , { Dispatcher ( Rc :: new ( RefCell :: new ( DispatcherInner { source , callback } ) ) ) }
Builds a dispatcher.
Builds a dispatcher .
source
S
callback
F
source
S
callback
F