kobo 0.4.0

A library for interacting with Kobo devices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

/// Text alignment definitions
#[derive(Debug, Clone)]
pub enum TextAlign {
    /// Align text to the left
    Left,
    /// Align text to the center
    Center,
    /// Align text to the right
    Right,
}

impl Default for TextAlign {
    fn default() -> Self {
        TextAlign::Left
    }
}