pub trait SpecInto<T>: Sized {
// Required method
spec fn spec_into(self) -> T;
}Expand description
Spec version of Into.
Required Methods§
Sourcespec fn spec_into(self) -> T
spec fn spec_into(self) -> T
Spec version of Into::ex_into
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.