pub struct Config {
pub alphabet: [u8; 58],
pub decode_map: [u8; 256],
pub lut_58_squared: [u16; 3364],
}Expand description
Internal configuration containing pre-computed tables for an alphabet.
Fields§
§alphabet: [u8; 58]Alphabet of chars for encoding and decoding.
decode_map: [u8; 256]Pre-computed map of values for decoding.
lut_58_squared: [u16; 3364]Pre-computed LUT of squared values for encoding.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more