Skip to main content

oxilean_runtime/rc/
weak_traits.rs

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