In Blue, I'm pretty sure gym leaders and elite fours are the only NOTABLE trainers that specialize in one type. In Sun, there are trial captains, Sycamore's assistants, Plumeria and Guzma, Faba, Moylane (needs spell check), and Ryuki, along with lots of less notable trainers.