use trait_mux::trait_mux;
use crate::fmt::Custom;
use std::fmt::{Binary, Debug, Display, LowerExp, LowerHex, Octal, Pointer, UpperExp, UpperHex};
pub trait Usize {
fn as_usize(&self) -> usize;
}
impl Usize for usize {
fn as_usize(&self) -> usize {
*self
}
}
trait_mux!(
struct Formattable {
Binary,
Custom,
Debug,
Display,
LowerExp,
LowerHex,
Octal,
Pointer,
UpperExp,
UpperHex,
Usize,
};
);