typeables/
second_of_minute.rs

1//! # SecondOfMinute
2//!
3//!
4//! ## SecondOfMinute As Number
5//!
6//! Example:
7//!
8//! ```rust
9//! # use typeables::second_of_minute::*;
10//! let x = SecondOfMinuteAsStructI8(0); // First second of the minute
11//! let x = SecondOfMinuteAsStructI8(59); // Last second of the minute
12//! ```
13//!
14//!
15//! ## SecondOfMinute As "SS" format
16//!
17//! Examples:
18//!
19//! ```rust
20//! # use typeables::second_of_minute::*;
21//! let x = SecondOfMinuteAsSSAsStructStr("00"); // First second of the minute
22//! let x = SecondOfMinuteAsSSAsStructStr("59"); // Last second of the minute
23//! ```
24//!
25//! ## SecondOfMinute As Name
26//!
27//! Example:
28//!
29//! ```rust
30//! # use typeables::second_of_minute::*;
31//! let x = SecondOfMinuteAsNameAsStructStr("First second of the minute");
32//! let x = SecondOfMinuteAsNameAsStructStr("Last second of the minute");
33//! ```
34
35//// SecondOfMinute
36
37pub struct SecondOfMinuteAsStructI8(pub i8);
38pub struct SecondOfMinuteAsStructI16(pub i16);
39pub struct SecondOfMinuteAsStructI32(pub i32);
40pub struct SecondOfMinuteAsStructI64(pub i64);
41pub struct SecondOfMinuteAsStructI128(pub i128);
42pub struct SecondOfMinuteAsStructISize(pub isize);
43pub struct SecondOfMinuteAsStructU8(pub u8);
44pub struct SecondOfMinuteAsStructU16(pub u16);
45pub struct SecondOfMinuteAsStructU32(pub u32);
46pub struct SecondOfMinuteAsStructU64(pub u64);
47pub struct SecondOfMinuteAsStructU128(pub u128);
48pub struct SecondOfMinuteAsStructUSize(pub usize);
49pub struct SecondOfMinuteAsStructF32(pub f32);
50pub struct SecondOfMinuteAsStructF64(pub f64);
51
52pub type SecondOfMinuteAsTypeI8 = i8;
53pub type SecondOfMinuteAsTypeI16 = i16;
54pub type SecondOfMinuteAsTypeI32 = i32;
55pub type SecondOfMinuteAsTypeI64 = i64;
56pub type SecondOfMinuteAsTypeI128 = i128;
57pub type SecondOfMinuteAsTypeISize = isize;
58pub type SecondOfMinuteAsTypeU8 = u8;
59pub type SecondOfMinuteAsTypeU16 = u16;
60pub type SecondOfMinuteAsTypeU32 = u32;
61pub type SecondOfMinuteAsTypeU64 = u64;
62pub type SecondOfMinuteAsTypeU128 = u128;
63pub type SecondOfMinuteAsTypeUSize = usize;
64pub type SecondOfMinuteAsTypeF32 = f32;
65pub type SecondOfMinuteAsTypeF64 = f64;
66
67//// SecondOfMinuteAsSS
68
69pub struct SecondOfMinuteAsSSAsStructStr(pub &'static str);
70pub struct SecondOfMinuteAsSSAsStructString(pub String);
71
72pub type SecondOfMinuteAsSSAsTypeStr = str;
73pub type SecondOfMinuteAsSSAsTypeString = String;
74
75//// SecondOfMinuteAsName
76
77pub struct SecondOfMinuteAsNameAsStructStr(pub &'static str);
78pub struct SecondOfMinuteAsNameAsStructString(pub String);
79
80pub type SecondOfMinuteAsNameAsTypeStr = str;
81pub type SecondOfMinuteAsNameAsTypeString = String;