Trait flatcontainer::IntoOwned

source ·
pub trait IntoOwned<'a> {
    type Owned;

    // Required methods
    fn into_owned(self) -> Self::Owned;
    fn clone_onto(self, other: &mut Self::Owned);
    fn borrow_as(owned: &'a Self::Owned) -> Self;
}
Expand description

A reference type corresponding to an owned type, supporting conversion in each direction.

This trait can be implemented by a GAT, and enables owned types to be borrowed as a GAT. This trait is analogous to ToOwned, but not as prescriptive. Specifically, it avoids the requirement that the other trait implement Borrow, for which a borrow must result in a &'self Borrowed, which cannot move the lifetime into a GAT borrowed type.

Required Associated Types§

source

type Owned

Owned type into which this type can be converted.

Required Methods§

source

fn into_owned(self) -> Self::Owned

Conversion from an instance of this type to the owned type.

source

fn clone_onto(self, other: &mut Self::Owned)

Clones self onto an existing instance of the owned type.

source

fn borrow_as(owned: &'a Self::Owned) -> Self

Borrows an owned instance as oneself.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

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

§

type Owned = bool

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = char

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = f32

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = f64

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = i8

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = i16

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = i32

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = i64

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = i128

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = isize

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = u8

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = u16

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = u32

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = u64

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = u128

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a> IntoOwned<'a> for ()

§

type Owned = ()

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = usize

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = Wrapping<i8>

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = Wrapping<i16>

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = Wrapping<i32>

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = Wrapping<i64>

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = Wrapping<i128>

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

type Owned = Wrapping<isize>

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a> IntoOwned<'a> for Duration

§

type Owned = Duration

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, A> IntoOwned<'a> for (A,)
where A: IntoOwned<'a>,

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, A, B> IntoOwned<'a> for (A, B)
where A: IntoOwned<'a>, B: IntoOwned<'a>,

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, A, B, C> IntoOwned<'a> for (A, B, C)
where A: IntoOwned<'a>, B: IntoOwned<'a>, C: IntoOwned<'a>,

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, A, B, C, D> IntoOwned<'a> for (A, B, C, D)
where A: IntoOwned<'a>, B: IntoOwned<'a>, C: IntoOwned<'a>, D: IntoOwned<'a>,

§

type Owned = (<A as IntoOwned<'a>>::Owned, <B as IntoOwned<'a>>::Owned, <C as IntoOwned<'a>>::Owned, <D as IntoOwned<'a>>::Owned)

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, A, B, C, D, E> IntoOwned<'a> for (A, B, C, D, E)
where A: IntoOwned<'a>, B: IntoOwned<'a>, C: IntoOwned<'a>, D: IntoOwned<'a>, E: IntoOwned<'a>,

§

type Owned = (<A as IntoOwned<'a>>::Owned, <B as IntoOwned<'a>>::Owned, <C as IntoOwned<'a>>::Owned, <D as IntoOwned<'a>>::Owned, <E as IntoOwned<'a>>::Owned)

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, A, B, C, D, E, F> IntoOwned<'a> for (A, B, C, D, E, F)
where A: IntoOwned<'a>, B: IntoOwned<'a>, C: IntoOwned<'a>, D: IntoOwned<'a>, E: IntoOwned<'a>, F: IntoOwned<'a>,

§

type Owned = (<A as IntoOwned<'a>>::Owned, <B as IntoOwned<'a>>::Owned, <C as IntoOwned<'a>>::Owned, <D as IntoOwned<'a>>::Owned, <E as IntoOwned<'a>>::Owned, <F as IntoOwned<'a>>::Owned)

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, A, B, C, D, E, F, G> IntoOwned<'a> for (A, B, C, D, E, F, G)
where A: IntoOwned<'a>, B: IntoOwned<'a>, C: IntoOwned<'a>, D: IntoOwned<'a>, E: IntoOwned<'a>, F: IntoOwned<'a>, G: IntoOwned<'a>,

§

type Owned = (<A as IntoOwned<'a>>::Owned, <B as IntoOwned<'a>>::Owned, <C as IntoOwned<'a>>::Owned, <D as IntoOwned<'a>>::Owned, <E as IntoOwned<'a>>::Owned, <F as IntoOwned<'a>>::Owned, <G as IntoOwned<'a>>::Owned)

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, A, B, C, D, E, F, G, H> IntoOwned<'a> for (A, B, C, D, E, F, G, H)
where A: IntoOwned<'a>, B: IntoOwned<'a>, C: IntoOwned<'a>, D: IntoOwned<'a>, E: IntoOwned<'a>, F: IntoOwned<'a>, G: IntoOwned<'a>, H: IntoOwned<'a>,

§

type Owned = (<A as IntoOwned<'a>>::Owned, <B as IntoOwned<'a>>::Owned, <C as IntoOwned<'a>>::Owned, <D as IntoOwned<'a>>::Owned, <E as IntoOwned<'a>>::Owned, <F as IntoOwned<'a>>::Owned, <G as IntoOwned<'a>>::Owned, <H as IntoOwned<'a>>::Owned)

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> IntoOwned<'a> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)
where A: IntoOwned<'a>, B: IntoOwned<'a>, C: IntoOwned<'a>, D: IntoOwned<'a>, E: IntoOwned<'a>, F: IntoOwned<'a>, G: IntoOwned<'a>, H: IntoOwned<'a>, I: IntoOwned<'a>, J: IntoOwned<'a>, K: IntoOwned<'a>, L: IntoOwned<'a>, M: IntoOwned<'a>, N: IntoOwned<'a>, O: IntoOwned<'a>, P: IntoOwned<'a>,

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

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

§

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

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, T, E> IntoOwned<'a> for Result<T, E>
where T: IntoOwned<'a>, E: IntoOwned<'a>,

§

type Owned = Result<<T as IntoOwned<'a>>::Owned, <E as IntoOwned<'a>>::Owned>

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

source§

impl<'a, T: ToOwned + ?Sized> IntoOwned<'a> for &'a T

§

type Owned = <T as ToOwned>::Owned

source§

fn into_owned(self) -> Self::Owned

source§

fn clone_onto(self, other: &mut Self::Owned)

source§

fn borrow_as(owned: &'a Self::Owned) -> Self

Implementors§

source§

impl<'a, R> IntoOwned<'a> for ReadColumns<'a, R>
where R: Region,

§

type Owned = Vec<<R as Region>::Owned>

source§

impl<'a, R, O> IntoOwned<'a> for ReadSlice<'a, R, O>
where R: Region, O: OffsetContainer<R::Index>,

§

type Owned = Vec<<R as Region>::Owned>