Crate into_ext[][src]

Expand description

crates.io github MIT / Apache 2.0 licensed unsafe forbidden

This crate offers an extension trait IntoExt for the Into trait from the standard library, offering a method .into_::<T>() to specify the target type of conversion.

It also comes with a similar extension trait TryIntoExt for TryInto.

See the documentation of IntoExt::into_ or TryIntoExt::try_into_ for more details.

Modules

The into_ext prelude

Traits

Extension trait for the Into trait, offering a method .into_::<T>() to specify the target type of conversion.

Extension trait for the TryInto trait, offering a method .try_into_::<T>() to specify the target type of conversion.

Helper trait for type equality, necessary to make IntoExt::into_ work.