Registry / utility / ord-subset

ord-subset

JSON →
library3.1.2rscratesunverified

Tools for working with the Ord subset of certain PartialOrd types, like floats.

# Cargo.toml [dependencies] ord_subset = "3.1.2"
INSTALL
IMPORT
SIG · ORD-SUBSET
O
ord-subset
utilityrustv3.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

OrdSubset
use ord_subset::OrdSubset;

Sorting floats using ord_subset

use ord_subset::OrdSubset; fn main() { let mut floats = vec![1.0, 3.0, 2.0]; floats.ord_subset_sort(); println!("Sorted: {:?}", floats); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
ord-subset — cargo add ord-subset · libregistry