1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use super::*;

impl Debug for XCellTyped {
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        match self {
            XCellTyped::Boolean(v) => Debug::fmt(v, f),
            XCellTyped::Integer(v) => Debug::fmt(v, f),
            XCellTyped::Decimal(v) => Debug::fmt(v, f),
            XCellTyped::String(v) => Debug::fmt(v, f),
            XCellTyped::Time(v) => Debug::fmt(v, f),
            XCellTyped::Color(v) => Debug::fmt(v, f),
            XCellTyped::Enumerate(v) => Debug::fmt(v, f),
            XCellTyped::Array(v) => Debug::fmt(v, f),
            XCellTyped::Vector(v) => Debug::fmt(v, f),
            XCellTyped::Custom(v) => Debug::fmt(v, f),
        }
    }
}

impl Display for XCellTyped {
    fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
        Debug::fmt(self, f)
    }
}