use crate::TextLut;
#[doc = concat!["# Unicode scalar related ", crate::_ABBR_LUT!(), "s."]]
impl TextLut {
#[rustfmt::skip]
pub const ASCII_CHARS: [&str; 128] = [
"\0", "\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\x07", "\x08", "\t", "\n",
"\x0B", "\x0C", "\r", "\x0E", "\x0F", "\x10", "\x11", "\x12", "\x13", "\x14", "\x15",
"\x16", "\x17", "\x18", "\x19", "\x1A", "\x1B", "\x1C", "\x1D", "\x1E", "\x1F",
" ", "!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",", "-", ".", "/",
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", "<", "=", ">", "?",
"@", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O",
"P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "[", "\\", "]", "^", "_",
"`", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o",
"p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "{", "|", "}", "~", "\x7F",
];
#[doc = crate::doclink!(custom devela "[`FontArt`]" "media/font/struct.FontArt.html")]
pub const ASCII_BASE36_OFFSET: [u8; 37] = [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, ];
pub const DECIMAL_PAIRS: &[u8; 200] = b"\
0001020304050607080910111213141516171819\
2021222324252627282930313233343536373839\
4041424344454647484950515253545556575859\
6061626364656667686970717273747576777879\
8081828384858687888990919293949596979899";
pub const DIGITS_BASE36: [u8; 36] = *b"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
pub const POWERS10: [u128; 39] = [
1,
10,
100,
1_000,
10_000,
100_000,
1_000_000,
10_000_000,
100_000_000,
1_000_000_000,
10_000_000_000,
100_000_000_000,
1_000_000_000_000,
10_000_000_000_000,
100_000_000_000_000,
1_000_000_000_000_000,
10_000_000_000_000_000,
100_000_000_000_000_000,
1_000_000_000_000_000_000,
10_000_000_000_000_000_000,
100_000_000_000_000_000_000,
1_000_000_000_000_000_000_000,
10_000_000_000_000_000_000_000,
100_000_000_000_000_000_000_000,
1_000_000_000_000_000_000_000_000,
10_000_000_000_000_000_000_000_000,
100_000_000_000_000_000_000_000_000,
1_000_000_000_000_000_000_000_000_000,
10_000_000_000_000_000_000_000_000_000,
100_000_000_000_000_000_000_000_000_000,
1_000_000_000_000_000_000_000_000_000_000,
10_000_000_000_000_000_000_000_000_000_000,
100_000_000_000_000_000_000_000_000_000_000,
1_000_000_000_000_000_000_000_000_000_000_000,
10_000_000_000_000_000_000_000_000_000_000_000,
100_000_000_000_000_000_000_000_000_000_000_000,
1_000_000_000_000_000_000_000_000_000_000_000_000,
10_000_000_000_000_000_000_000_000_000_000_000_000,
100_000_000_000_000_000_000_000_000_000_000_000_000,
];
#[cfg(test)]
const _POWERS10_ASSERT: () = {
assert![size_of_val(&TextLut::POWERS10) == size_of::<u128>() * 39];
assert![size_of_val(&TextLut::POWERS10) == 624];
};
}