handler

Function handler 

Source
pub fn handler<T, U>(hashmap: &mut HashMap<Uuid, T>, fnc: Functions<T, U>)
where T: RodoStruct<U>,
Expand description

Deciedes what action to perform based on fnc

  • hashmap: the field to perform the action on
  • fnc: the function to run from Functions