edit: documentation:
https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#...
https://github.com/gorhill/uBlock/wiki/Resources-Library#tru...
It's actually given in example:
> example.com##+js(trusted-click-element, button.reject-all)