1 2 3 4 5 6 7
/// The `Elements` struct holds the list and related pieces of informations /// of it. pub struct Elements<'list> { pub list: &'list [i32], pub len: usize, pub max_sum: Option<i32>, }
1 2 3 4 5 6 7
/// The `Elements` struct holds the list and related pieces of informations /// of it. pub struct Elements<'list> { pub list: &'list [i32], pub len: usize, pub max_sum: Option<i32>, }