pub fn run_all(&mut self, param: ParamType) {
		self.callbacks.retain(
			|(_, handler)| Rc::strong_count(handler) > 1);
		for (callback, _) in &self.callbacks {
			callback(param);
		}
	}
/// The `run_all` method runs all the closures if their handler was not dropped it.
/// The mutability on self is expected cause any closure which had his handler dropped will
/// also be dropped.
The `run_all` method runs all the closures if their handler was not dropped it.
The mutability on self is expected cause any closure which had his handler dropped will
also be dropped.
The ` run_all ` method runs all the closures if their handler was not dropped it . The mutability on self is expected cause any closure which had his handler dropped will also be dropped .
pub fn run_all(&mut self, param: ParamType) {
		self.callbacks.retain(
			|(_, handler)| Rc::strong_count(handler) > 1);
		for (callback, _) in &self.callbacks {
			callback(param);
		}
	}
pub fn run_all ( & mut self , param : ParamType ) { self . callbacks . retain ( | ( _ , handler ) | Rc :: strong_count ( handler ) > 1 ) ; for ( callback , _ ) in & self . callbacks { callback ( param ) ; } }
The `run_all` method runs all the closures if their handler was not dropped it.
The ` run_all ` method runs all the closures if their handler was not dropped it .
&mut self
param
ParamType
&mut self
param
ParamType