Refactored impl_ToUniform code a bit (fixes #620)
Refactored impl_ToUniform code a bit (fixes #620)

ColinKinloch/gfx,sectopod/gfx-rs,mitchmindtree/gfx-rs,aepsil0n/gfx-rs,tanderegg/gfx,gfx-rs/gfx-rs,bvssvni/gfx-rs,davll/gfx,Bastacyclop/gfx,red75prime/gfx,tanderegg/gfx,alexcrichton/gfx,ColinKinloch/gfx,tempbottle/gfx,JohnColanduoni/gfx,JohnColanduoni/gfx