num_valid/
core.rs

1#![deny(rustdoc::broken_intra_doc_links)]
2
3//! Core abstractions for the num-valid library.
4//!
5//! This module contains the foundational types, traits, and policies that define
6//! the validation and computation model for numerical values.
7//!
8//! ## Submodules
9//!
10//! - [`errors`]: Error types for validation failures and mathematical operations
11//! - [`policies`]: Validation policies (e.g., [`StrictFinitePolicy`](policies::StrictFinitePolicy))
12//! - [`traits`]: Core traits for raw and validated types
13//! - [`types`]: Validated wrapper types ([`RealValidated`](types::RealValidated), [`ComplexValidated`](types::ComplexValidated))
14
15/// Error types for validation failures and mathematical operations.
16pub mod errors;
17
18/// Validation policies that define how numerical values are checked.
19pub mod policies;
20
21/// Core traits for raw and validated scalar types.
22pub mod traits;
23
24/// Validated wrapper types that enforce numerical correctness.
25pub mod types;