typeables/
volt.rs

1//! # Volt
2//!
3//! Examples:
4//!
5//! ```rust
6//! # use typeables::volt::*;
7//! let x = VoltAsStructF64(1.0);
8//! ```
9//!
10//! <https://wikipedia.org/wiki/Volt>
11//!
12//! The volt is a unit of voltage, electrical potential difference, electromotive force.
13//!
14//! It is a derived unit in the International System of Units (SI).
15//
16//! The SI unit symbol is V.
17
18//// Volt
19
20pub struct VoltAsStructI8(pub i8);
21pub struct VoltAsStructI16(pub i16);
22pub struct VoltAsStructI32(pub i32);
23pub struct VoltAsStructI64(pub i64);
24pub struct VoltAsStructI128(pub i128);
25pub struct VoltAsStructISize(pub isize);
26pub struct VoltAsStructU8(pub u8);
27pub struct VoltAsStructU16(pub u16);
28pub struct VoltAsStructU32(pub u32);
29pub struct VoltAsStructU64(pub u64);
30pub struct VoltAsStructU128(pub u128);
31pub struct VoltAsStructUSize(pub usize);
32pub struct VoltAsStructF32(pub f32);
33pub struct VoltAsStructF64(pub f64);
34
35pub type VoltAsTypeI8 = i8;
36pub type VoltAsTypeI16 = i16;
37pub type VoltAsTypeI32 = i32;
38pub type VoltAsTypeI64 = i64;
39pub type VoltAsTypeI128 = i128;
40pub type VoltAsTypeISize = isize;
41pub type VoltAsTypeU8 = u8;
42pub type VoltAsTypeU16 = u16;
43pub type VoltAsTypeU32 = u32;
44pub type VoltAsTypeU64 = u64;
45pub type VoltAsTypeU128 = u128;
46pub type VoltAsTypeUSize = usize;
47pub type VoltAsTypeF32 = f32;
48pub type VoltAsTypeF64 = f64;