Move is_void() Element method together with the other struct methods.

While reading Element.rs, I noticed that one of its methods is implemented in another position in the file. It makes sense to group in a single point the implemented methods of a struct, which is done with this patch.