servo/components/style/gecko_bindings
Emilio Cobos Álvarez 05881b5ab4 style: Represent the percentage in LengthPercentage with something other than an option.
Not the prettiest, but it will work, and LengthPercentage will be 12 bytes which
is pretty good (we could do better if wanted I guess):

  * Au(i32) length;
  * f32 percentage;
  * AllowedNumericType(u8) clamping_mode;
  * bool has_percentage;
  * bool was_calc;

This will allow me to start moving C++ stuff to use this representation.

Differential Revision: https://phabricator.services.mozilla.com/D16929
2019-01-20 14:33:12 +01:00
..
sugar style: Represent the percentage in LengthPercentage with something other than an option. 2019-01-20 14:33:12 +01:00
mod.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00