ToOwned

This trait is meant to be implemented for types that can be converted in to an owned version. For example, the &str type has this trait implemented for String. This means the &str type has a method called to_owned() on it that can convert it in to a String type, which is an owned type.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset