Skip to main content

ToOwned

Trait ToOwned 

Source
pub unsafe trait ToOwned: ToOwned { }
Expand description

This trait is empty declaration of ::std::borrow::ToOwned to be used with newer_type::implement.

§Safety

should be implemented by newer_type::implement

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§