User defined function; pass fe or mesh arguments?

Hello Freefem community,
I wonder if it is possible to pass to user defined functions a finite element or mesh argument.
For example, would it be possible something like below?
Thank you!

mesh Th=square(10,10)
fespace Vh(Th,P1);
Vh f=x;
funct real myfunc(mesh &Th, Vh &f) {
// anything …
return 0;
}

No, it’s not possible.

Thank you for letting me know.