1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// devela::num::no
//
//! Allows the unit type [`()`] to represent the absence of a number.
//
/// Represents the absence of a number.
///
/// This can be used anywhere an implementation of [`Num`][super::Num] is expected,
/// since it implements all the numeric traits, but does nothing.
pub type NoNum = ;
// #[cfg(feature = "geom")]
// mod geom {
// use crate::{NoNum, NumVector};
//
// #[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "geom")))]
// impl NumVector for NoNum {
// type Scalar = ();
// }
// }