Auto merge of #341 - glennw:util, r=Ms2ger
Auto merge of #341 - glennw:util, r=Ms2ger

Parameterize the RectHelpers trait so it can be used with f32 / DevicePixels.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/341)
<!-- Reviewable:end -->

servo/webrender,alanamramjit/webrender,servo/webrender,servo/webrender,alanamramjit/webrender,servo/webrender,servo/webrender,servo/webrender