kobo/display/chr_gui/
text_align.rs

1
2/// Text alignment definitions
3#[derive(Debug, Clone)]
4pub enum TextAlign {
5    /// Align text to the left
6    Left,
7    /// Align text to the center
8    Center,
9    /// Align text to the right
10    Right,
11}
12
13impl Default for TextAlign {
14    fn default() -> Self {
15        TextAlign::Left
16    }
17}