devela/num/geom/
mod.rs

1// devela::num::geom
2//
3//! Geometric types and operations, spatial constructs and analysis.
4#![doc = crate::doc_!(modules: crate::num; geom: linear, metric, shape)]
5//
6
7pub mod linear; // Vector*, Matrix*
8pub mod metric; // Position, Distance, Extent, Stride...
9
10#[cfg(feature = "geom")]
11#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "geom")))]
12pub mod shape; // Point, …
13
14crate::items! { // structural access: _mods, _all
15    // #[allow(unused)]
16    // pub use _mods::*;
17    #[allow(unused)] #[doc(hidden, no_inline)]
18    pub use _pub_mods::*;
19
20    // mod _mods {}
21    mod _pub_mods { #![allow(unused)]
22        pub use super::linear::_all::*;
23        pub use super::metric::_all::*;
24
25        #[cfg(feature = "geom")]
26        pub use super::shape::_all::*;
27    }
28    pub(super) mod _all {
29        #[doc(inline)]
30        pub use super::_pub_mods::*;
31    }
32}