Pretty much agree with Hawkmoon. That professor is vastly over-simplifying, or else has a grant.
Did some people vote for Trump for what he outlined? Absolutely. Did some people partially consider them? Likely. However, labeling them as primary causes of the majority is nothing more than "Those crackers that hug their guns and their bibles" and "stupid, uninformed flyover country voters".
Did I consider Mexicans when deciding who to vote for? Yes. ILLEGAL Mexicans. And illegal anybody. Legal immigrants from anywhere did not make it into my equation. More important to me were preserving my rights (guns, fishing, hunting, using forest service land, using my own damn property), my money, (i.e., taxes), and who that was running would be most likely to leave me the hell alone.