oxilean_runtime/arena/arenapool_traits.rs
1//! # ArenaPool - Trait Implementations
2//!
3//! This module contains trait implementations for `ArenaPool`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//! - `Debug`
9//!
10//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
11
12use super::types::ArenaPool;
13use std::fmt;
14
15impl Default for ArenaPool {
16 fn default() -> Self {
17 Self::new()
18 }
19}
20
21impl fmt::Debug for ArenaPool {
22 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
23 f.debug_struct("ArenaPool")
24 .field("available", &self.available.len())
25 .field("max_pool_size", &self.max_pool_size)
26 .field("chunk_size", &self.chunk_size)
27 .finish()
28 }
29}