typeables 2.3.0

Typeables: Rust crate of type aliases. By SixArm.com.
Documentation
//! # HourOfDay
//!
//!
//! ## HourOfDay As Number
//!
//! Example:
//!
//! ```rust
//! # use typeables::hour_of_day::*;
//! let x = HourOfDayAsStructI8(0); // First hour of the day
//! let x = HourOfDayAsStructI8(23); // Last hour of the day
//! ```
//!
//!
//! ## HourOfDay As "HH" format
//!
//! Examples:
//!
//! ```rust
//! # use typeables::hour_of_day::*;
//! let x = HourOfDayAsHHAsStructStr("00"); // First hour of the day
//! let x = HourOfDayAsHHAsStructStr("23"); // Last hour of the day
//! ```
//!
//! ## HourOfDay As Name
//!
//! Example:
//!
//! ```rust
//! # use typeables::hour_of_day::*;
//! let x = HourOfDayAsNameAsStructStr("First hour of the day");
//! let x = HourOfDayAsNameAsStructStr("Last hour of the day");
//! ```

//// HourOfDay

pub struct HourOfDayAsStructI8(pub i8);
pub struct HourOfDayAsStructI16(pub i16);
pub struct HourOfDayAsStructI32(pub i32);
pub struct HourOfDayAsStructI64(pub i64);
pub struct HourOfDayAsStructI128(pub i128);
pub struct HourOfDayAsStructISize(pub isize);
pub struct HourOfDayAsStructU8(pub u8);
pub struct HourOfDayAsStructU16(pub u16);
pub struct HourOfDayAsStructU32(pub u32);
pub struct HourOfDayAsStructU64(pub u64);
pub struct HourOfDayAsStructU128(pub u128);
pub struct HourOfDayAsStructUSize(pub usize);
pub struct HourOfDayAsStructF32(pub f32);
pub struct HourOfDayAsStructF64(pub f64);

pub type HourOfDayAsTypeI8 = i8;
pub type HourOfDayAsTypeI16 = i16;
pub type HourOfDayAsTypeI32 = i32;
pub type HourOfDayAsTypeI64 = i64;
pub type HourOfDayAsTypeI128 = i128;
pub type HourOfDayAsTypeISize = isize;
pub type HourOfDayAsTypeU8 = u8;
pub type HourOfDayAsTypeU16 = u16;
pub type HourOfDayAsTypeU32 = u32;
pub type HourOfDayAsTypeU64 = u64;
pub type HourOfDayAsTypeU128 = u128;
pub type HourOfDayAsTypeUSize = usize;
pub type HourOfDayAsTypeF32 = f32;
pub type HourOfDayAsTypeF64 = f64;

//// HourOfDayAsHH

pub struct HourOfDayAsHHAsStructStr(pub &'static str);
pub struct HourOfDayAsHHAsStructString(pub String);

pub type HourOfDayAsHHAsTypeStr = str;
pub type HourOfDayAsHHAsTypeString = String;

//// HourOfDayAsName

pub struct HourOfDayAsNameAsStructStr(pub &'static str);
pub struct HourOfDayAsNameAsStructString(pub String);

pub type HourOfDayAsNameAsTypeStr = str;
pub type HourOfDayAsNameAsTypeString = String;