| 23 | |
| 24 | #[derive(Clone)] |
| 25 | pub struct SortingAlgorithm { |
| 26 | pub name: String, |
| 27 | sort: fn(&mut Vec<u32>, &mut SortSteps), |
| 28 | } |
| 29 | |
| 30 | impl SortingAlgorithm { |
| 31 | fn new(name: &str, sort: fn(&mut Vec<u32>, &mut SortSteps)) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected