static_self

Trait IntoOwned

Source
pub trait IntoOwned<'any> {
    type Owned: 'any;

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

A trait for things that can be cloned with a new lifetime.

'any lifeitme means the output should have 'static lifetime.

Required Associated Types§

Source

type Owned: 'any

A variant of Self with a new lifetime.

Required Methods§

Source

fn into_owned(self) -> Self::Owned

Make lifetime of self 'static.

Implementations on Foreign Types§

Source§

impl<'a> IntoOwned<'a> for bool

Source§

type Owned = bool

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for char

Source§

type Owned = char

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for f32

Source§

type Owned = f32

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for f64

Source§

type Owned = f64

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for i8

Source§

type Owned = i8

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for i16

Source§

type Owned = i16

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for i32

Source§

type Owned = i32

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for i64

Source§

type Owned = i64

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for i128

Source§

type Owned = i128

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for isize

Source§

type Owned = isize

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for u8

Source§

type Owned = u8

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for u16

Source§

type Owned = u16

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for u32

Source§

type Owned = u32

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for u64

Source§

type Owned = u64

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for u128

Source§

type Owned = u128

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for usize

Source§

type Owned = usize

Source§

fn into_owned(self) -> Self

Source§

impl<'a> IntoOwned<'a> for String

Source§

type Owned = String

Source§

fn into_owned(self) -> Self

Source§

impl<'any, A, B, C, D, E, F, G, H, I, J, K, L> IntoOwned<'any> for (A, B, C, D, E, F, G, H, I, J, K, L)
where A: IntoOwned<'any>, B: IntoOwned<'any>, C: IntoOwned<'any>, D: IntoOwned<'any>, E: IntoOwned<'any>, F: IntoOwned<'any>, G: IntoOwned<'any>, H: IntoOwned<'any>, I: IntoOwned<'any>, J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<A as IntoOwned<'any>>::Owned, <B as IntoOwned<'any>>::Owned, <C as IntoOwned<'any>>::Owned, <D as IntoOwned<'any>>::Owned, <E as IntoOwned<'any>>::Owned, <F as IntoOwned<'any>>::Owned, <G as IntoOwned<'any>>::Owned, <H as IntoOwned<'any>>::Owned, <I as IntoOwned<'any>>::Owned, <J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, B, C, D, E, F, G, H, I, J, K, L> IntoOwned<'any> for (B, C, D, E, F, G, H, I, J, K, L)
where B: IntoOwned<'any>, C: IntoOwned<'any>, D: IntoOwned<'any>, E: IntoOwned<'any>, F: IntoOwned<'any>, G: IntoOwned<'any>, H: IntoOwned<'any>, I: IntoOwned<'any>, J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<B as IntoOwned<'any>>::Owned, <C as IntoOwned<'any>>::Owned, <D as IntoOwned<'any>>::Owned, <E as IntoOwned<'any>>::Owned, <F as IntoOwned<'any>>::Owned, <G as IntoOwned<'any>>::Owned, <H as IntoOwned<'any>>::Owned, <I as IntoOwned<'any>>::Owned, <J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, C, D, E, F, G, H, I, J, K, L> IntoOwned<'any> for (C, D, E, F, G, H, I, J, K, L)
where C: IntoOwned<'any>, D: IntoOwned<'any>, E: IntoOwned<'any>, F: IntoOwned<'any>, G: IntoOwned<'any>, H: IntoOwned<'any>, I: IntoOwned<'any>, J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<C as IntoOwned<'any>>::Owned, <D as IntoOwned<'any>>::Owned, <E as IntoOwned<'any>>::Owned, <F as IntoOwned<'any>>::Owned, <G as IntoOwned<'any>>::Owned, <H as IntoOwned<'any>>::Owned, <I as IntoOwned<'any>>::Owned, <J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, D, E, F, G, H, I, J, K, L> IntoOwned<'any> for (D, E, F, G, H, I, J, K, L)
where D: IntoOwned<'any>, E: IntoOwned<'any>, F: IntoOwned<'any>, G: IntoOwned<'any>, H: IntoOwned<'any>, I: IntoOwned<'any>, J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<D as IntoOwned<'any>>::Owned, <E as IntoOwned<'any>>::Owned, <F as IntoOwned<'any>>::Owned, <G as IntoOwned<'any>>::Owned, <H as IntoOwned<'any>>::Owned, <I as IntoOwned<'any>>::Owned, <J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, E, F, G, H, I, J, K, L> IntoOwned<'any> for (E, F, G, H, I, J, K, L)
where E: IntoOwned<'any>, F: IntoOwned<'any>, G: IntoOwned<'any>, H: IntoOwned<'any>, I: IntoOwned<'any>, J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<E as IntoOwned<'any>>::Owned, <F as IntoOwned<'any>>::Owned, <G as IntoOwned<'any>>::Owned, <H as IntoOwned<'any>>::Owned, <I as IntoOwned<'any>>::Owned, <J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, F, G, H, I, J, K, L> IntoOwned<'any> for (F, G, H, I, J, K, L)
where F: IntoOwned<'any>, G: IntoOwned<'any>, H: IntoOwned<'any>, I: IntoOwned<'any>, J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<F as IntoOwned<'any>>::Owned, <G as IntoOwned<'any>>::Owned, <H as IntoOwned<'any>>::Owned, <I as IntoOwned<'any>>::Owned, <J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, G, H, I, J, K, L> IntoOwned<'any> for (G, H, I, J, K, L)
where G: IntoOwned<'any>, H: IntoOwned<'any>, I: IntoOwned<'any>, J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<G as IntoOwned<'any>>::Owned, <H as IntoOwned<'any>>::Owned, <I as IntoOwned<'any>>::Owned, <J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, H, I, J, K, L> IntoOwned<'any> for (H, I, J, K, L)
where H: IntoOwned<'any>, I: IntoOwned<'any>, J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<H as IntoOwned<'any>>::Owned, <I as IntoOwned<'any>>::Owned, <J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, I, J, K, L> IntoOwned<'any> for (I, J, K, L)
where I: IntoOwned<'any>, J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<I as IntoOwned<'any>>::Owned, <J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, J, K, L> IntoOwned<'any> for (J, K, L)
where J: IntoOwned<'any>, K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<J as IntoOwned<'any>>::Owned, <K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, K, L> IntoOwned<'any> for (K, L)
where K: IntoOwned<'any>, L: IntoOwned<'any>,

Source§

type Owned = (<K as IntoOwned<'any>>::Owned, <L as IntoOwned<'any>>::Owned)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, L> IntoOwned<'any> for (L,)
where L: IntoOwned<'any>,

Source§

type Owned = (<L as IntoOwned<'any>>::Owned,)

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, T> IntoOwned<'any> for Option<T>
where T: IntoOwned<'any>,

Source§

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

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, T> IntoOwned<'any> for Box<[T]>
where T: IntoOwned<'any>,

Source§

type Owned = Box<[<T as IntoOwned<'any>>::Owned]>

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, T> IntoOwned<'any> for Box<T>
where T: IntoOwned<'any>,

Source§

type Owned = Box<<T as IntoOwned<'any>>::Owned>

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, T> IntoOwned<'any> for Vec<T>
where T: IntoOwned<'any>,

Source§

type Owned = Vec<<T as IntoOwned<'any>>::Owned>

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'any, T, const N: usize> IntoOwned<'any> for [T; N]
where T: IntoOwned<'any>,

Source§

type Owned = [<T as IntoOwned<'any>>::Owned; N]

Source§

fn into_owned(self) -> Self::Owned

Implementors§