less-rs 0.0.0

A Rust implementation of the Less CSS preprocessor.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use cssparser::CowRcStr;

/// A CSS identifier
#[derive(Clone, Debug, PartialEq, Eq, Hash, Default)]
pub struct Namespace<'i>(CowRcStr<'i>);

impl<'i> From<CowRcStr<'i>> for Namespace<'i> {
  fn from(value: CowRcStr<'i>) -> Self {
    Self(value)
  }
}