Trait method lrs::prelude::v1::ToOwned::to_owned

Converts the object into its owned version.

Syntax

fn to_owned(&self) -> Result<<Self as ToOwned<H>>::Owned, Errno>
   where <H as Allocator>::Pool: Default,