mirror of
https://github.com/servo/servo.git
synced 2025-07-09 16:33:40 +01:00
This enables destructors for tagged unions in cbindgen, implemented in: * https://github.com/eqrion/cbindgen/pull/333 Which allow us to properly generate a destructor for the cbindgen-generated StyleBasicShape (which now contains an OwnedSlice). For now, we still use the glue code to go from Box<BasicShape> to UniquePtr<BasicShape>. But that will change in the future when we generate even more stuff and remove all the glue. I could add support for copy-constructor generation to cbindgen for tagged enums, but I'm not sure if it'll end up being needed, and copy-constructing unions in C++ is always very tricky. Differential Revision: https://phabricator.services.mozilla.com/D29769 |
||
---|---|---|
.. | ||
background.rs | ||
basic_shape.rs | ||
border.rs | ||
box.rs | ||
color.rs | ||
column.rs | ||
counters.rs | ||
easing.rs | ||
effects.rs | ||
flex.rs | ||
font.rs | ||
gecko.rs | ||
grid.rs | ||
image.rs | ||
length.rs | ||
mod.rs | ||
position.rs | ||
rect.rs | ||
size.rs | ||
svg.rs | ||
text.rs | ||
transform.rs | ||
ui.rs | ||
url.rs |