Trait concrete_core::numeric::CastInto[][src]

pub trait CastInto<Output> {
    fn cast_into(self) -> Output;
}

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.

Required methods

fn cast_into(self) -> Output[src]

Loading content...

Implementors

impl<Input, Output> CastInto<Output> for Input where
    Output: CastFrom<Input>, 
[src]

Loading content...