[Debug Trait] utils
This commit is contained in:
parent
f96fcee1fd
commit
aa2a0523bf
|
@ -1,5 +1,6 @@
|
|||
use std::{rc::Rc, cell::RefCell};
|
||||
|
||||
#[derive(Debug)]
|
||||
struct SignalerInner<E> {
|
||||
closures: RefCell<Vec<Box<dyn FnMut(&mut E)>>>
|
||||
}
|
||||
|
@ -12,6 +13,7 @@ impl<E> SignalerInner<E> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct Signaler<E> {
|
||||
inner: Rc<SignalerInner<E>>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue