summaryrefslogtreecommitdiff
path: root/src/values.rs
blob: 31ee7bbc8377dd11275b56c8f063da37c18b1f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
mod length;
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;
}