stylang 0.1.0

A group of graphical interface description languages that separates style/class from behavior and layout
Documentation
1
2
3
4
5
6
7
8
9
use std::borrow::Cow;

/// Value type used by widget.
#[derive(Debug, PartialEq, PartialOrd, Clone)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub enum Value<'a, T> {
    Constant(T),
    XPath(Cow<'a, str>),
}