Trump never said "Mexicans are rapists," he said something along the lines of "They're not bringing their best people... their rapists" which could be misconstrued as "they're."
He did say that African countries are shitholes, while complimenting my country, which wasn't great for our public image worldwide, but I did chuckle at it. It's the sort of off-hand stupid wording you'd hear at a bar late at night, which I figure is part of his appeal to the people that actually like him. Not a good look for a president to be sure.
Trump is not the ghost of Hitler, it can be fun to argue in that kind of hyperbole but he really isn't. And ~50% of the American voting public chose him over Hillary, because it was a shit sandwich vs giant douche race, you can't reasonably suggest banning all those people from Linux conferences.