oxiphysics_geometry/sphere_packing/confinementconfig_traits.rs
1//! # ConfinementConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `ConfinementConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::{ConfinementConfig, ConfinementShape};
12
13impl Default for ConfinementConfig {
14 fn default() -> Self {
15 Self {
16 shape: ConfinementShape::Box,
17 dimensions: [1.0, 1.0, 1.0],
18 sphere_radius: 0.05,
19 max_attempts: 5000,
20 }
21 }
22}