1 2 3 4 5 6 7 8 9 10 11 12 13
use generic_array::ArrayLength; use crate::Vec; pub struct String<N: ArrayLength> { vec: Vec<u8, N>, } impl<N: ArrayLength> String<N> { pub const fn new() -> Self { Self { vec: Vec::uninit() } } }