/// Searches for the last added user function for the given message, and
/// runs if it exists, returning the result.

Searches for the last added user function for the given message, and
runs if it exists, returning the result.
Searches for the last added user function for the given message and runs if it exists returning the result .
pub(in crate::gui) fn process_one_message(&self,
		wm_any: WndMsg) -> ErrResult<ProcessResult>
	{
		Ok(match self.msgs.find(wm_any.msg_id) {
			Some(func) => { // we have a stored function to handle this message
				match func(wm_any)? { // execute user function
					Some(res) => ProcessResult::HandledWithRet(res), // meaningful return value
					None => ProcessResult::HandledWithoutRet,
				}
			},
			None => ProcessResult::NotHandled, // no stored function
		})
	}
pub ( in crate :: gui ) fn process_one_message ( & self , wm_any : WndMsg ) -> ErrResult < ProcessResult > { Ok ( match self . msgs . find ( wm_any . msg_id ) { Some ( func ) => { // we have a stored function to handle this message
 match func ( wm_any ) ? { // execute user function
 Some ( res ) => ProcessResult :: HandledWithRet ( res ) , // meaningful return value
 None => ProcessResult :: HandledWithoutRet , } } , None => ProcessResult :: NotHandled , // no stored function
 } ) }
Searches for the last added user function for the given message, and
runs if it exists, returning the result.
Searches for the last added user function for the given message and runs if it exists returning the result .
&self
wm_any
WndMsg