There's no nastier implementation because the function isn't there.
There's nothing converting the case of a string in place. The iterator does not decide how many bytes the string has, it delivers one character at a time. It's trivial to decide how many bytes a character has (it's on the definition of your encoding), and it's written down at the type definition.
Converting the case of an string in place is just a bad operation. It should not be done. So the Rust stdlib doesn't do it. The idea that complexity has a fixed size is trivially wrong.