1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use super::*;
mod traits;
///
#[derive(Clone)]
pub struct CssAttribute {
key: String,
value: String,
}
impl CssAttribute {
pub fn new<K>(key: K, value: K) -> Self
where
K: Into<String>,
{
Self { key: key.into(), value: value.into() }
}
}