Trait SortingStatsTrait
sorting_explorer
pub trait SortingStatsTrait { pub fn comparisons(&mut self, n: i64); pub fn swaps(&mut self, n: i64); pub fn comparison(&mut self) { ... } pub fn swap(&mut self) { ... } }
pub fn comparisons(&mut self, n: i64)
pub fn swaps(&mut self, n: i64)
pub fn comparison(&mut self)
pub fn swap(&mut self)
impl SortingStatsTrait for EmptySortingStats
pub fn comparisons(&mut self, _n: i64)
pub fn swaps(&mut self, _n: i64)
impl SortingStatsTrait for SortingStats