//! Common types used across the Trackforge library.
//!//! This module defines fundamental structures like `BoundingBox`.
/// Represents a bounding box in 2D space.
#[derive(Debug, Clone, Copy, PartialEq)]pubstructBoundingBox{pubx:f32,
puby:f32,
pubwidth:f32,
pubheight:f32,
}implBoundingBox{pubfnnew(x:f32, y:f32, width:f32, height:f32)->Self{Self{
x,
y,
width,
height,}}}