pub unsafe trait Convert<T> {
// Required method
fn into(self) -> T;
}Expand description
§Safety
Preserve the owner, visible range, resident capacity, and owner lifetimes. Allocate, copy, and clone nothing; do not introduce sharing.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".