Skip to main content

oxilean_std/show/
showable_traits.rs

1//! # Showable - Trait Implementations
2//!
3//! This module contains trait implementations for `Showable`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Display`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::functions::Show;
12use super::types::Showable;
13use std::fmt;
14
15impl<T: Show> fmt::Display for Showable<T> {
16    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
17        write!(f, "{}", self.0.show())
18    }
19}