pub fn total_fit<T>( items: &[Item<T>], lengths: &[i32], threshold: f32, looseness: i32, ) -> Vec<Breakpoint>