use crate::{FixedUnsigned, FixedScale};
#[derive(Clone, Debug)]
pub struct FixedScale4 {}
impl FixedScale for FixedScale4 {
const SCALE: u64 = 4;
}
pub type FixedUnsigned4 = FixedUnsigned<FixedScale4>;
#[derive(Clone, Debug)]
pub struct FixedScale8 {}
impl FixedScale for FixedScale8 {
const SCALE: u64 = 8;
}
pub type FixedUnsigned8 = FixedUnsigned<FixedScale8>;
#[derive(Clone, Debug)]
pub struct FixedScale16 {}
impl FixedScale for FixedScale16 {
const SCALE: u64 = 16;
}
pub type FixedUnsigned16 = FixedUnsigned<FixedScale16>;
#[derive(Clone, Debug)]
pub struct FixedScale10 {}
impl FixedScale for FixedScale10 {
const SCALE: u64 = 10;
}
pub type FixedUnsigned10 = FixedUnsigned<FixedScale10>;
#[derive(Clone, Debug)]
pub struct FixedScale26 {}
impl FixedScale for FixedScale26 {
const SCALE: u64 = 26;
}
pub type FixedUnsigned26 = FixedUnsigned<FixedScale26>;