Struct flatcontainer::impls::tuple::TupleABCDEFGHIJKLMRegion
source · pub struct TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M> { /* private fields */ }
Expand description
A region for a tuple.
Trait Implementations§
source§impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone, L: Clone, M: Clone> Clone for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone, L: Clone, M: Clone> Clone for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
source§fn clone(
&self
) -> TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
fn clone( &self ) -> TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a, A, A_C: Region, B, B_C: Region, C, C_C: Region, D, D_C: Region, E, E_C: Region, F, F_C: Region, G, G_C: Region, H, H_C: Region, I, I_C: Region, J, J_C: Region, K, K_C: Region, L, L_C: Region, M, M_C: Region> CopyOnto<TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>> for &'a (A, B, C, D, E, F, G, H, I, J, K, L, M)
impl<'a, A, A_C: Region, B, B_C: Region, C, C_C: Region, D, D_C: Region, E, E_C: Region, F, F_C: Region, G, G_C: Region, H, H_C: Region, I, I_C: Region, J, J_C: Region, K, K_C: Region, L, L_C: Region, M, M_C: Region> CopyOnto<TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>> for &'a (A, B, C, D, E, F, G, H, I, J, K, L, M)
source§fn copy_onto(
self,
target: &mut TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>
) -> <TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C> as Region>::Index
fn copy_onto( self, target: &mut TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C> ) -> <TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.
source§impl<A, A_C: Region, B, B_C: Region, C, C_C: Region, D, D_C: Region, E, E_C: Region, F, F_C: Region, G, G_C: Region, H, H_C: Region, I, I_C: Region, J, J_C: Region, K, K_C: Region, L, L_C: Region, M, M_C: Region> CopyOnto<TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>> for (A, B, C, D, E, F, G, H, I, J, K, L, M)
impl<A, A_C: Region, B, B_C: Region, C, C_C: Region, D, D_C: Region, E, E_C: Region, F, F_C: Region, G, G_C: Region, H, H_C: Region, I, I_C: Region, J, J_C: Region, K, K_C: Region, L, L_C: Region, M, M_C: Region> CopyOnto<TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>> for (A, B, C, D, E, F, G, H, I, J, K, L, M)
source§fn copy_onto(
self,
target: &mut TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>
) -> <TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C> as Region>::Index
fn copy_onto( self, target: &mut TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C> ) -> <TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.
source§impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug, K: Debug, L: Debug, M: Debug> Debug for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug, K: Debug, L: Debug, M: Debug> Debug for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
source§impl<A: Default, B: Default, C: Default, D: Default, E: Default, F: Default, G: Default, H: Default, I: Default, J: Default, K: Default, L: Default, M: Default> Default for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A: Default, B: Default, C: Default, D: Default, E: Default, F: Default, G: Default, H: Default, I: Default, J: Default, K: Default, L: Default, M: Default> Default for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
source§fn default() -> TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
fn default() -> TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
Returns the “default value” for a type. Read more
source§impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M> Deserialize<'de> for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: Deserialize<'de>,
B: Deserialize<'de>,
C: Deserialize<'de>,
D: Deserialize<'de>,
E: Deserialize<'de>,
F: Deserialize<'de>,
G: Deserialize<'de>,
H: Deserialize<'de>,
I: Deserialize<'de>,
J: Deserialize<'de>,
K: Deserialize<'de>,
L: Deserialize<'de>,
M: Deserialize<'de>,
impl<'de, A, B, C, D, E, F, G, H, I, J, K, L, M> Deserialize<'de> for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: Deserialize<'de>,
B: Deserialize<'de>,
C: Deserialize<'de>,
D: Deserialize<'de>,
E: Deserialize<'de>,
F: Deserialize<'de>,
G: Deserialize<'de>,
H: Deserialize<'de>,
I: Deserialize<'de>,
J: Deserialize<'de>,
K: Deserialize<'de>,
L: Deserialize<'de>,
M: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<A: Region, B: Region, C: Region, D: Region, E: Region, F: Region, G: Region, H: Region, I: Region, J: Region, K: Region, L: Region, M: Region> Region for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>where
<A as Region>::Index: Index,
<B as Region>::Index: Index,
<C as Region>::Index: Index,
<D as Region>::Index: Index,
<E as Region>::Index: Index,
<F as Region>::Index: Index,
<G as Region>::Index: Index,
<H as Region>::Index: Index,
<I as Region>::Index: Index,
<J as Region>::Index: Index,
<K as Region>::Index: Index,
<L as Region>::Index: Index,
<M as Region>::Index: Index,
impl<A: Region, B: Region, C: Region, D: Region, E: Region, F: Region, G: Region, H: Region, I: Region, J: Region, K: Region, L: Region, M: Region> Region for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>where
<A as Region>::Index: Index,
<B as Region>::Index: Index,
<C as Region>::Index: Index,
<D as Region>::Index: Index,
<E as Region>::Index: Index,
<F as Region>::Index: Index,
<G as Region>::Index: Index,
<H as Region>::Index: Index,
<I as Region>::Index: Index,
<J as Region>::Index: Index,
<K as Region>::Index: Index,
<L as Region>::Index: Index,
<M as Region>::Index: Index,
§type ReadItem<'a> = (<A as Region>::ReadItem<'a>, <B as Region>::ReadItem<'a>, <C as Region>::ReadItem<'a>, <D as Region>::ReadItem<'a>, <E as Region>::ReadItem<'a>, <F as Region>::ReadItem<'a>, <G as Region>::ReadItem<'a>, <H as Region>::ReadItem<'a>, <I as Region>::ReadItem<'a>, <J as Region>::ReadItem<'a>, <K as Region>::ReadItem<'a>, <L as Region>::ReadItem<'a>, <M as Region>::ReadItem<'a>)
where
Self: 'a
type ReadItem<'a> = (<A as Region>::ReadItem<'a>, <B as Region>::ReadItem<'a>, <C as Region>::ReadItem<'a>, <D as Region>::ReadItem<'a>, <E as Region>::ReadItem<'a>, <F as Region>::ReadItem<'a>, <G as Region>::ReadItem<'a>, <H as Region>::ReadItem<'a>, <I as Region>::ReadItem<'a>, <J as Region>::ReadItem<'a>, <K as Region>::ReadItem<'a>, <L as Region>::ReadItem<'a>, <M as Region>::ReadItem<'a>) where Self: 'a
The type of the data that one gets out of the container.
§type Index = (<A as Region>::Index, <B as Region>::Index, <C as Region>::Index, <D as Region>::Index, <E as Region>::Index, <F as Region>::Index, <G as Region>::Index, <H as Region>::Index, <I as Region>::Index, <J as Region>::Index, <K as Region>::Index, <L as Region>::Index, <M as Region>::Index)
type Index = (<A as Region>::Index, <B as Region>::Index, <C as Region>::Index, <D as Region>::Index, <E as Region>::Index, <F as Region>::Index, <G as Region>::Index, <H as Region>::Index, <I as Region>::Index, <J as Region>::Index, <K as Region>::Index, <L as Region>::Index, <M as Region>::Index)
The type to index into the container. Should be treated
as an opaque type, even if known.
source§fn merge_regions<'a>(regions: impl Iterator<Item = &'a Self> + Clone) -> Selfwhere
Self: 'a,
fn merge_regions<'a>(regions: impl Iterator<Item = &'a Self> + Clone) -> Selfwhere
Self: 'a,
Construct a region that can absorb the contents of
regions
in the future.source§fn index(&self, index: Self::Index) -> Self::ReadItem<'_>
fn index(&self, index: Self::Index) -> Self::ReadItem<'_>
Index into the container. The index must be obtained by
pushing data into the container.
source§fn reserve_regions<'a, It>(&mut self, regions: It)
fn reserve_regions<'a, It>(&mut self, regions: It)
Ensure that the region can absorb the items of
regions
without reallocationsource§impl<'a, A, A_C: Region, B, B_C: Region, C, C_C: Region, D, D_C: Region, E, E_C: Region, F, F_C: Region, G, G_C: Region, H, H_C: Region, I, I_C: Region, J, J_C: Region, K, K_C: Region, L, L_C: Region, M, M_C: Region> ReserveItems<TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>> for &'a (A, B, C, D, E, F, G, H, I, J, K, L, M)where
&'a A: ReserveItems<A_C>,
&'a B: ReserveItems<B_C>,
&'a C: ReserveItems<C_C>,
&'a D: ReserveItems<D_C>,
&'a E: ReserveItems<E_C>,
&'a F: ReserveItems<F_C>,
&'a G: ReserveItems<G_C>,
&'a H: ReserveItems<H_C>,
&'a I: ReserveItems<I_C>,
&'a J: ReserveItems<J_C>,
&'a K: ReserveItems<K_C>,
&'a L: ReserveItems<L_C>,
&'a M: ReserveItems<M_C>,
impl<'a, A, A_C: Region, B, B_C: Region, C, C_C: Region, D, D_C: Region, E, E_C: Region, F, F_C: Region, G, G_C: Region, H, H_C: Region, I, I_C: Region, J, J_C: Region, K, K_C: Region, L, L_C: Region, M, M_C: Region> ReserveItems<TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>> for &'a (A, B, C, D, E, F, G, H, I, J, K, L, M)where
&'a A: ReserveItems<A_C>,
&'a B: ReserveItems<B_C>,
&'a C: ReserveItems<C_C>,
&'a D: ReserveItems<D_C>,
&'a E: ReserveItems<E_C>,
&'a F: ReserveItems<F_C>,
&'a G: ReserveItems<G_C>,
&'a H: ReserveItems<H_C>,
&'a I: ReserveItems<I_C>,
&'a J: ReserveItems<J_C>,
&'a K: ReserveItems<K_C>,
&'a L: ReserveItems<L_C>,
&'a M: ReserveItems<M_C>,
source§fn reserve_items<It>(
target: &mut TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>,
items: It
)
fn reserve_items<It>( target: &mut TupleABCDEFGHIJKLMRegion<A_C, B_C, C_C, D_C, E_C, F_C, G_C, H_C, I_C, J_C, K_C, L_C, M_C>, items: It )
Ensure that the region can absorb
items
without reallocation.source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Serialize for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Serialize for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
Auto Trait Implementations§
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Freeze for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> RefUnwindSafe for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
G: RefUnwindSafe,
H: RefUnwindSafe,
I: RefUnwindSafe,
J: RefUnwindSafe,
K: RefUnwindSafe,
L: RefUnwindSafe,
M: RefUnwindSafe,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Send for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Sync for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Unpin for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> UnwindSafe for TupleABCDEFGHIJKLMRegion<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
G: UnwindSafe,
H: UnwindSafe,
I: UnwindSafe,
J: UnwindSafe,
K: UnwindSafe,
L: UnwindSafe,
M: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.