Sprite Maske and trails/particles?

I tried to apply a sprite mask to a trail render and particle system but couldn’t come up with a solution? I added a sprite mask component but that didn’t do anything?

I Tried to get the same effect with my trail or particles, (could be either of one or both).

It should work exactly the same way as it does for Sprite Renderers. e.g. follow this guide, but, where it uses a Sprite Renderer, use a Particle System instead. The Particle System Renderer module has the sprite mask interaction options.