typewit 1.15.2

type-witness-based abstractions, mostly for emulating polymorphism in const fns
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![deny(missing_docs)]

crate::simple_type_witness!{
    /// Docs for enum
    derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Equals)
    pub enum AllDerives {
        /// docs for U8 variant
        U8 = u8, 
        /// docs for U16 variant
        U16 = u16,
    }
}