//! # SymbolMetadata - Trait Implementations
//!
//! This module contains trait implementations for `SymbolMetadata`.
//!
//! ## Implemented Traits
//!
//! - `Display`
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
use super::types::SymbolMetadata;
use std::fmt;
impl fmt::Display for SymbolMetadata {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{}::{}", self.library, self.symbol)?;
if self.weak {
write!(f, " (weak)")?;
}
if self.thread_local {
write!(f, " (tls)")?;
}
Ok(())
}
}