summaryrefslogtreecommitdiff
path: root/src/values.rs
blob: e71a8c40d03f1c0335fa74f424df74d80423e8fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
mod padding;
mod rotation;

pub trait Value: Sized {
    type Err;

    fn from_str(s: &str) -> Result<Self, Self::Err>;

    // TODO remove this once RenderedElement's options field is redone
    #[allow(dead_code)]
    fn to_string(&self) -> String;
}