Crate usize_conversions [] [src]

Conversion traits for conversions between usize and fixed sized integers.

This crate provides two traits, UsizeFrom and UsizeInto, that can be used similar to the From and Into traits of the standard library.

Warning: The traits are conditionally implemented based on the target pointer width, so they can make your crate less portable.

Traits

UsizeFrom

Additional from conversions for usize.

UsizeInto

Additional into conversions for usize.