devela 0.27.0

A development layer of coherence.
Documentation
// devela::num::dom::no
//
//! Allows the unit type [`()`] to represent the absence of a number.
//

#[doc = crate::_tags!(no num)]
/// Represents the absence of a number.
#[doc = crate::_doc_location!("num")]
pub type NoNum = ();

#[cfg(feature = "num")]
impl super::Num for NoNum {
    type Inner = ();
    type Out = ();
    type Rhs = ();

    fn num_into(self) -> Self::Inner {}
}

#[cfg(feature = "int")]
impl super::NumInt for NoNum {
    type OutI = ();
}

// #[cfg(feature = "geom")]
// mod geom {
//     use crate::{NoNum, NumVector};
//
//     #[cfg_attr(nightly_doc, doc(cfg(feature = "geom")))]
//     impl NumVector for NoNum {
//         type Scalar = ();
//     }
// }