Trait concrete_commons::numeric::CastInto
source · [−]pub trait CastInto<Output> {
fn cast_into(self) -> Output;
}
Expand description
A trait that allows to generically cast one type into another.
This type is similar to the std::convert::Into
trait, but the conversion between the two
types is deferred to the individual as
casting. If in doubt about the semantics of such a
casting, refer to
the rust reference.