1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
//! Item value model.  

//! アイテム値モデル。  


use crate::model::layer220::ItemValue;
use std::fmt;

impl fmt::Debug for ItemValue {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        match self {
            ItemValue::Array(m) => write!(f, "{:?}", m),
            ItemValue::BasicString(m) => write!(f, "{:?}", m),
            ItemValue::InlineTable(m) => write!(f, "{:?}", m),
            ItemValue::KeyValue(m) => write!(f, "{:?}", m),
            ItemValue::LiteralValue(m) => write!(f, "{:?}", m),
            ItemValue::LiteralString(m) => write!(f, "{:?}", m),
        }
    }
}