aboutsummaryrefslogtreecommitdiffstats
path: root/components/style_derive/to_css.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style_derive/to_css.rs')
-rw-r--r--components/style_derive/to_css.rs13
1 files changed, 7 insertions, 6 deletions
diff --git a/components/style_derive/to_css.rs b/components/style_derive/to_css.rs
index de48f4612e4..57d04f00547 100644
--- a/components/style_derive/to_css.rs
+++ b/components/style_derive/to_css.rs
@@ -123,11 +123,12 @@ struct CssInputAttrs {
#[darling(attributes(css), default)]
#[derive(Default, FromVariant)]
-struct CssVariantAttrs {
- function: Option<Function>,
- iterable: bool,
- comma: bool,
- dimension: bool,
+pub struct CssVariantAttrs {
+ pub function: Option<Function>,
+ pub iterable: bool,
+ pub comma: bool,
+ pub dimension: bool,
+ pub aliases: Option<String>,
}
#[darling(attributes(css), default)]
@@ -136,7 +137,7 @@ struct CssFieldAttrs {
ignore_bound: bool,
}
-struct Function {
+pub struct Function {
name: Option<Ident>,
}