Crate int_conv

Source
Expand description

Integer conversions

This crate provides explicit conversions between integer types.

§Features

Various helpers are also provided to be used with the turbofish syntax (::<>).

Re-exports§

pub use extend::Extend;
pub use extend::Extended;
pub use extend::SignExtend;
pub use extend::SignExtended;
pub use extend::ZeroExtend;
pub use extend::ZeroExtended;
pub use sign::IsSigned;
pub use sign::IsUnsigned;
pub use sign::Signed;
pub use split::Join;
pub use split::Split;
pub use trunc::Truncate;
pub use trunc::Truncated;

Modules§

extend
Integer extensions
sign
Types with signed and unsigned variants
split
Integer splitting
trunc
Integer truncation