typeables/
katal.rs

1//! # Katal
2//!
3//! Examples:
4//!
5//! ```rust
6//! # use typeables::katal::*;
7//! let x = KatalAsStructF64(1.0);
8//! ```
9//!
10//! <https://wikipedia.org/wiki/Katal>
11//!
12//! The katal is a unit of catalytic activity.
13//!
14//! It is a derived unit in the International System of Units (SI).
15//
16//! The SI unit symbol is kat.
17
18//// Katal
19
20pub struct KatalAsStructI8(pub i8);
21pub struct KatalAsStructI16(pub i16);
22pub struct KatalAsStructI32(pub i32);
23pub struct KatalAsStructI64(pub i64);
24pub struct KatalAsStructI128(pub i128);
25pub struct KatalAsStructISize(pub isize);
26pub struct KatalAsStructU8(pub u8);
27pub struct KatalAsStructU16(pub u16);
28pub struct KatalAsStructU32(pub u32);
29pub struct KatalAsStructU64(pub u64);
30pub struct KatalAsStructU128(pub u128);
31pub struct KatalAsStructUSize(pub usize);
32pub struct KatalAsStructF32(pub f32);
33pub struct KatalAsStructF64(pub f64);
34
35pub type KatalAsTypeI8 = i8;
36pub type KatalAsTypeI16 = i16;
37pub type KatalAsTypeI32 = i32;
38pub type KatalAsTypeI64 = i64;
39pub type KatalAsTypeI128 = i128;
40pub type KatalAsTypeISize = isize;
41pub type KatalAsTypeU8 = u8;
42pub type KatalAsTypeU16 = u16;
43pub type KatalAsTypeU32 = u32;
44pub type KatalAsTypeU64 = u64;
45pub type KatalAsTypeU128 = u128;
46pub type KatalAsTypeUSize = usize;
47pub type KatalAsTypeF32 = f32;
48pub type KatalAsTypeF64 = f64;