rustyle 0.1.0

A new way to represent the CSS stylesheet in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::core::csstype::Cssifiable;
use crate::core::parse::parse_color;
use proc_macro::TokenTree;

pub fn parse_expression<I>(tokens: &mut I) -> Option<impl Cssifiable>
where
  I: Iterator<Item = TokenTree>,
{
  parse_color(tokens)
}