Skip to main content

oxilean_kernel/no_std_compat/
allocconfig_traits.rs

1//! # AllocConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `AllocConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::AllocConfig;
12
13impl Default for AllocConfig {
14    fn default() -> Self {
15        Self {
16            use_global_allocator: true,
17            max_heap_bytes: None,
18        }
19    }
20}