mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
fa06241ab6
commit
7f02662770
3 changed files with 6 additions and 127 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue