pub trait Repeat<const SIZE: usize, const PAD1: usize, const PAD2: usize, HEAP> {
// Required method
fn repeat_n(&self, n: usize) -> FlexStr<SIZE, PAD1, PAD2, HEAP>;
}
Expand description
Trait that can repeat a given FlexStr “n” times efficiently