Trait UnsafeFrom

Source
pub unsafe trait UnsafeFrom<T> {
    // Required method
    unsafe fn unsafe_from(t: T) -> Self;
}

Required Methods§

Source

unsafe fn unsafe_from(t: T) -> Self

Converts the object from another object.

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§