mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
style: Add derived ToShmem implementations.
Differential Revision: https://phabricator.services.mozilla.com/D17197
This commit is contained in:
parent
128c6ae94a
commit
40248ae5fd
93 changed files with 649 additions and 267 deletions
|
@ -18,6 +18,7 @@
|
|||
ToAnimatedValue,
|
||||
ToAnimatedZero,
|
||||
ToComputedValue,
|
||||
ToShmem,
|
||||
)]
|
||||
#[repr(C)]
|
||||
pub struct GenericPosition<H, V> {
|
||||
|
@ -53,6 +54,7 @@ impl<H, V> Position<H, V> {
|
|||
ToAnimatedZero,
|
||||
ToComputedValue,
|
||||
ToCss,
|
||||
ToShmem,
|
||||
)]
|
||||
#[repr(C, u8)]
|
||||
pub enum GenericZIndex<I> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue