Rust functions perform mutation by consuming the parameter and emitting a new one in its place, effectively. You can take any data type and build an alternate version of it that can be used without using mut (and with a much less convenient API, but it’s basically a rote transformation of the code).
Edit: I’d nominate as a good definition of pure functional programming the absence of undeclared data flow (i.e. side effects) by your code.