pub trait IntoOwned {
    type Owned: 'static;

    // Required method
    fn into_owned(self) -> Self::Owned;
}
Expand description

Trait implemented by types that can be converted into owned versions of themselves.

Required Associated Types§

source

type Owned: 'static

The owned version of the type.

Required Methods§

source

fn into_owned(self) -> Self::Owned

Converts self into an owned version of itself.

Implementations on Foreign Types§

source§

impl IntoOwned for i64

§

type Owned = i64

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl IntoOwned for i32

§

type Owned = i32

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl IntoOwned for u32

§

type Owned = u32

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl<T: IntoOwned> IntoOwned for Vec<T>

§

type Owned = Vec<<T as IntoOwned>::Owned, Global>

source§

fn into_owned(self) -> Self::Owned

source§

impl IntoOwned for bool

§

type Owned = bool

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl IntoOwned for i16

§

type Owned = i16

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl<T: IntoOwned + Send + Sync> IntoOwned for InitCell<T>where T::Owned: Send + Sync,

§

type Owned = InitCell<<T as IntoOwned>::Owned>

source§

fn into_owned(self) -> Self::Owned

source§

impl<A: IntoOwned, B: IntoOwned> IntoOwned for (A, B)

§

type Owned = (<A as IntoOwned>::Owned, <B as IntoOwned>::Owned)

source§

fn into_owned(self) -> Self::Owned

source§

impl IntoOwned for u8

§

type Owned = u8

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl IntoOwned for u64

§

type Owned = u64

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl IntoOwned for i8

§

type Owned = i8

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl IntoOwned for usize

§

type Owned = usize

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl<T: IntoOwned> IntoOwned for Option<T>

§

type Owned = Option<<T as IntoOwned>::Owned>

source§

fn into_owned(self) -> Self::Owned

source§

impl IntoOwned for u16

§

type Owned = u16

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl IntoOwned for isize

§

type Owned = isize

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

source§

impl<B: 'static + ToOwned + ?Sized> IntoOwned for Cow<'_, B>

§

type Owned = Cow<'static, B>

source§

fn into_owned(self) -> <Self as IntoOwned>::Owned

Implementors§

source§

impl IntoOwned for Uri<'_>

§

type Owned = Uri<'static>

source§

impl IntoOwned for Error<'_>

§

type Owned = Error<'static>

source§

impl IntoOwned for Absolute<'_>

§

type Owned = Absolute<'static>

source§

impl IntoOwned for Authority<'_>

§

type Owned = Authority<'static>

source§

impl IntoOwned for Host<'_>

§

type Owned = Host<'static>

source§

impl IntoOwned for Origin<'_>

§

type Owned = Origin<'static>

source§

impl IntoOwned for Reference<'_>

§

type Owned = Reference<'static>