insert_method

Function insert_method 

Source
pub fn insert_method<T, F>(cls: &AnyClass, sel: Sel, func: F) -> bool
where T: Message + ?Sized, F: MethodImplementation<Callee = T>,