CastInto

Trait CastInto 

Source
pub trait CastInto<T>: Kind
where T: Kind,
{ }
Expand description

A trait which allows safe casting from one Kind to another.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> CastInto<T> for T
where T: Kind,