rust associated function is private