Appropriate swimming attire for lap swimming / getting over anxiety

Do what makes you comfortable. No one else cares.

Swimming in trunks is uncomfortable and affects your technique. Honestly, I doubt anyone’s judging your appearance.