High-performance document intelligence library for Rust. Extract text, metadata, and structured data from PDFs, Office documents, images, and 98+ formats and 306 programming languages via tree-sitter code intelligence with async/sync APIs.
//! Bounding box geometry for PDF text positioning.
//!//! This module provides the BoundingBox type and geometric operations used
//! for spatial analysis of text elements in PDF documents.
useserde::{Deserialize, Serialize};/// A bounding box for text or elements.
#[cfg_attr(alef,alef(skip))]#[derive(Debug, Clone, Copy, Default, PartialEq, Serialize, Deserialize)]pubstructBoundingBox{/// Left x-coordinate
publeft:f32,
/// Top y-coordinate
pubtop:f32,
/// Right x-coordinate
pubright:f32,
/// Bottom y-coordinate
pubbottom:f32,
}