ux-animate 0.1.5

Backend and runtime agnostic animation library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub struct Font {
    family: String,
    name: String,
    style: String,
    ascent: f64,
}

impl Font {
    pub fn new(family: String, name: String, style: String, ascent: f64) -> Self {
        Self {
            family,
            name,
            style,
            ascent,
        }
    }
}