코드 2-15 Display 트레이트 구현의 예(https://doc.rust-lang.org/src/core/fmt/mod.rs.html#673-693)
/// Formats the value using the given formatter.
///
/// # Examples
///
/// ```
/// use std::fmt;
///
/// struct Position {
/// longitude: f32,
/// latitude: f32,
/// }
///
/// impl fmt::Display for Position {
/// fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
/// write!(f, "({}, {})", self.longitude, self.latitude)
/// }
/// }
///
/// assert_eq!("(1.987, 2.983)",
/// format!("{}", Position {
/// longitude: 1.987, latitude: 2.983,
/// }));
/// ```