style: Use cbindgen for text-emphasis-style.

I sent https://github.com/eqrion/cbindgen/pull/377 since I got sick of
copy-pasting the private default constructor stuff :)

Differential Revision: https://phabricator.services.mozilla.com/D41419
This commit is contained in:
Emilio Cobos Álvarez 2019-08-10 18:11:31 +00:00
parent fa06241ab6
commit 7f02662770
No known key found for this signature in database
GPG key ID: E1152D0994E4BF8A
3 changed files with 6 additions and 127 deletions

View file

@ -195,8 +195,11 @@ impl TextDecorationsInEffect {
}
/// Computed value for the text-emphasis-style property
///
/// cbindgen:derive-tagged-enum-copy-constructor=true
#[derive(Clone, Debug, MallocSizeOf, PartialEq, ToCss, ToResolvedValue)]
#[allow(missing_docs)]
#[repr(C, u8)]
pub enum TextEmphasisStyle {
/// [ <fill> || <shape> ]
Keyword {