pub trait Interchangeable<T> {
// Required methods
fn interchangeable_into(self) -> T;
fn interchangeable_from(other: T) -> Self;
}Required Methods§
fn interchangeable_into(self) -> T
fn interchangeable_from(other: T) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".