MCPcopy Create free account
hub / github.com/Jondolf/Algorust / SortingAlgorithm

Class SortingAlgorithm

src/pages/sorting.rs:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24#[derive(Clone)]
25pub struct SortingAlgorithm {
26 pub name: String,
27 sort: fn(&mut Vec<u32>, &mut SortSteps),
28}
29
30impl SortingAlgorithm {
31 fn new(name: &str, sort: fn(&mut Vec<u32>, &mut SortSteps)) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected