xcell_types/typing/
display.rs1use super::*;
2
3impl Debug for XCellTyped {
4 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
5 match self {
6 XCellTyped::Boolean(v) => Debug::fmt(v, f),
7 XCellTyped::Integer(v) => Debug::fmt(v, f),
8 XCellTyped::Decimal(v) => Debug::fmt(v, f),
9 XCellTyped::String(v) => Debug::fmt(v, f),
10 XCellTyped::Time(v) => Debug::fmt(v, f),
11 XCellTyped::Color(v) => Debug::fmt(v, f),
12 XCellTyped::Enumerate(v) => Debug::fmt(v, f),
13 XCellTyped::Array(v) => Debug::fmt(v, f),
14 XCellTyped::Vector(v) => Debug::fmt(v, f),
15 }
16 }
17}
18
19impl Display for XCellTyped {
20 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
21 Debug::fmt(self, f)
22 }
23}