The function Fq2::neg and Fq6::neg take as input 'a', a field element in Fq2 and Fq6 respectively, and return the field negation -a.
Whereas 'a' is passed by value and not by reference, in Fq::neg and Fq12::neg and Fr::neg, the field elements are all passed by reference.