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