pub struct BubbleSort<T> { /* private fields */ }

Implementations

bubble sort can customize the comparison logic based on the comparison function passed in

The ascending sort algorithm for bubble sort

Trait Implementations

Formats the value using the given formatter. Read more
Structuring through arrays
Get the internal data
Sort by ascending order
Customizable comparison logic based on closures
Determine if the sort is ascending
Customized judgments are ordered

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.