Registry / utility / funty
library2.0.0rscratesunverified

Trait generalization over the primitive types, enabling generic numeric programming.

# Cargo.toml [dependencies] funty = "2.0.0"
INSTALL
IMPORT
SIG · FUNTY
F
funty
utilityrustv2.0.0
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.

IsInteger
✓ use funty::IsInteger;

Using the IsInteger trait to check if a value is an integer.

use funty::IsInteger; fn is_integer<T: IsInteger>(val: T) -> bool { val.is_integer() } fn main() { println!("Is 42 integer? {}", is_integer(42u32)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
funty — cargo add funty · libregistry