How to call function with reference argument

I have a function with a (&mut Obj) parameter. How can I call this function?
I can easily call that function when the parameter is just Obj using its Id, but that way I have to delete the Object in the function.

1 Like