Registry / utility / easy-cast

easy-cast

JSON →
library0.5.4rscratesunverified

Type conversions which are expected to succeed.

# Cargo.toml [dependencies] easy-cast = "0.5.4"
INSTALL
IMPORT
SIG · EASY-CAST
E
easy-cast
utilityrustv0.5.4
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.

Cast
use easy_cast::Cast;

Casts a u32 to u64 using the Cast trait.

use easy_cast::Cast; fn main() { let x: u32 = 42; let y: u64 = x.cast(); println!("Cast {} to {}", x, y); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
easy-cast — cargo add easy-cast · libregistry