Agree with Troutdude.
And:
a lot of generalizations here.
In streams, a water level change ( rain caused ) of any significance will change trout behavior.
They may change depths or location. Also could affect what they are looking to feed on.
Water clarity may change enough to affect feeding. a little color good, low visibility bad.
A big rain could lower ( or raise ) water temp, either way, this could be a good or bad thing.
Lakes are a different game, any major pressure change will affect trout. I have seen bites shut off completely when a front blows through. Sometimes it will slowly change for the good, other times ( Like Trout dude said ) lock jaw, you might as well go home and catch up on ”honeydoos” or imbibe and watch sports.
The main thing here, Go Fish!
If they are biting, GREAT! If not, oh well, it’s always good to get outa house.
good luck
BB