style: Introduce ArcSlice, a small wrapper over ThinArc but without an explicit header.

We could make the header PhantomData or something, but then we wouldn't be able
to bind to C++, since C++ doesn't have ZSTs. So add a canary instead to add a
runtime check of stuff being sane.

Differential Revision: https://phabricator.services.mozilla.com/D30133
This commit is contained in:
Emilio Cobos Álvarez 2019-05-09 10:53:50 +00:00
parent 2ed2151b3d
commit 0d5c4481b8
6 changed files with 98 additions and 3 deletions

View file

@ -84,6 +84,7 @@ pub enum CSSPixel {}
// / hidpi_ratio => DeviceIndependentPixel
// / desktop_zoom => CSSPixel
pub mod arc_slice;
pub mod specified_value_info;
#[macro_use]
pub mod values;