Skip to main content

Module sort

Module sort 

Source

Re-exportsยง

use itertools::EitherOrBoth; ๐Ÿ”’
use itertools::Itertools; ๐Ÿ”’

Structsยง

VersionChunkIter ๐Ÿ”’
Iterator which breaks an identifier into various VersionChunks.

Enumsยง

MoreLeadingZeros ๐Ÿ”’
Determine which side of the version-sort comparison had more leading zeros.
VersionChunk ๐Ÿ”’
Represents a chunk in the version-sort algorithm

Functionsยง

version_sort ๐Ÿ”’
Compare two identifiers based on the version sorting algorithm described in the style guide