style: Factor out some of style_derive.

Differential Revision: https://phabricator.services.mozilla.com/D17188
This commit is contained in:
Cameron McCormack 2019-03-30 00:16:01 +00:00 committed by Emilio Cobos Álvarez
parent f581d2afb2
commit d8a758272e
13 changed files with 40 additions and 9 deletions

View file

@ -2,9 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use crate::cg;
use crate::parse::ParseVariantAttrs;
use crate::to_css::{CssFieldAttrs, CssInputAttrs, CssVariantAttrs};
use derive_common::cg;
use proc_macro2::TokenStream;
use quote::TokenStreamExt;
use syn::{Data, DeriveInput, Fields, Ident, Type};