pub struct RelIndexCombined<'a, Ind1, Ind2> {
pub ind1: &'a Ind1,
pub ind2: &'a Ind2,
}Fields§
§ind1: &'a Ind1§ind2: &'a Ind2Implementations§
Trait Implementations§
Source§impl<'a, Ind1, Ind2, K, V> CRelIndexRead<'a> for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: CRelIndexRead<'a, Key = K, Value = V>,
Ind2: CRelIndexRead<'a, Key = K, Value = V>,
impl<'a, Ind1, Ind2, K, V> CRelIndexRead<'a> for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: CRelIndexRead<'a, Key = K, Value = V>,
Ind2: CRelIndexRead<'a, Key = K, Value = V>,
type Key = K
type Value = V
type IteratorType = Chain<Flatten<IntoIter<<Ind1 as CRelIndexRead<'a>>::IteratorType>>, Flatten<IntoIter<<Ind2 as CRelIndexRead<'a>>::IteratorType>>>
fn c_index_get(&'a self, key: &Self::Key) -> Option<Self::IteratorType>
Source§impl<'a, Ind1, Ind2, K: 'a, V: 'a, VTI: ParallelIterator<Item = V> + 'a> CRelIndexReadAll<'a> for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: CRelIndexReadAll<'a, Key = K, ValueIteratorType = VTI>,
Ind2: CRelIndexReadAll<'a, Key = K, ValueIteratorType = VTI>,
impl<'a, Ind1, Ind2, K: 'a, V: 'a, VTI: ParallelIterator<Item = V> + 'a> CRelIndexReadAll<'a> for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: CRelIndexReadAll<'a, Key = K, ValueIteratorType = VTI>,
Ind2: CRelIndexReadAll<'a, Key = K, ValueIteratorType = VTI>,
type Key = K
type Value = V
type ValueIteratorType = VTI
type AllIteratorType = Chain<<Ind1 as CRelIndexReadAll<'a>>::AllIteratorType, <Ind2 as CRelIndexReadAll<'a>>::AllIteratorType>
fn c_iter_all(&'a self) -> Self::AllIteratorType
Source§impl<'a, Ind1, Ind2, K, V> RelIndexRead<'a> for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: RelIndexRead<'a, Key = K, Value = V>,
Ind2: RelIndexRead<'a, Key = K, Value = V>,
impl<'a, Ind1, Ind2, K, V> RelIndexRead<'a> for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: RelIndexRead<'a, Key = K, Value = V>,
Ind2: RelIndexRead<'a, Key = K, Value = V>,
type Key = K
type Value = V
type IteratorType = Chain<Flatten<IntoIter<<Ind1 as RelIndexRead<'a>>::IteratorType>>, Flatten<IntoIter<<Ind2 as RelIndexRead<'a>>::IteratorType>>>
fn index_get(&'a self, key: &Self::Key) -> Option<Self::IteratorType>
fn len_estimate(&self) -> usize
Source§impl<'a, Ind1, Ind2, K: 'a, V: 'a, VTI: Iterator<Item = V> + 'a> RelIndexReadAll<'a> for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: RelIndexReadAll<'a, Key = K, ValueIteratorType = VTI>,
Ind2: RelIndexReadAll<'a, Key = K, ValueIteratorType = VTI>,
impl<'a, Ind1, Ind2, K: 'a, V: 'a, VTI: Iterator<Item = V> + 'a> RelIndexReadAll<'a> for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: RelIndexReadAll<'a, Key = K, ValueIteratorType = VTI>,
Ind2: RelIndexReadAll<'a, Key = K, ValueIteratorType = VTI>,
type Key = K
type Value = V
type ValueIteratorType = VTI
type AllIteratorType = Chain<<Ind1 as RelIndexReadAll<'a>>::AllIteratorType, <Ind2 as RelIndexReadAll<'a>>::AllIteratorType>
fn iter_all(&'a self) -> Self::AllIteratorType
Auto Trait Implementations§
impl<'a, Ind1, Ind2> Freeze for RelIndexCombined<'a, Ind1, Ind2>
impl<'a, Ind1, Ind2> RefUnwindSafe for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: RefUnwindSafe,
Ind2: RefUnwindSafe,
impl<'a, Ind1, Ind2> Send for RelIndexCombined<'a, Ind1, Ind2>
impl<'a, Ind1, Ind2> Sync for RelIndexCombined<'a, Ind1, Ind2>
impl<'a, Ind1, Ind2> Unpin for RelIndexCombined<'a, Ind1, Ind2>
impl<'a, Ind1, Ind2> UnsafeUnpin for RelIndexCombined<'a, Ind1, Ind2>
impl<'a, Ind1, Ind2> UnwindSafe for RelIndexCombined<'a, Ind1, Ind2>where
Ind1: RefUnwindSafe,
Ind2: RefUnwindSafe,
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more