結果 : rust pass method as function pointer