pub struct LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>{ /* private fields */ }Implementations§
Source§impl<I, T, S1I, S1T, S2I, S2T> LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
impl<I, T, S1I, S1T, S2I, S2T> LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
pub fn init( name: &str, version: Version, source1: AnyBoxedIterableVec<S1I, S1T>, source2: AnyBoxedIterableVec<S2I, S2T>, compute: for<'a> fn(I, &mut dyn VecIteratorExtended<I = S1I, T = S1T, Item = S1T>, &mut dyn VecIteratorExtended<I = S2I, T = S2T, Item = S2T>) -> Option<T>, ) -> Self
Trait Implementations§
Source§impl<I: Allocative, T: Allocative, S1I: Allocative, S1T, S2I: Allocative, S2T> Allocative for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
impl<I: Allocative, T: Allocative, S1I: Allocative, S1T, S2I: Allocative, S2T> Allocative for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
Source§impl<I, T, S1I, S1T, S2I, S2T> AnyCollectableVec for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
impl<I, T, S1I, S1T, S2I, S2T> AnyCollectableVec for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
fn collect_range_json_bytes( &self, from: Option<usize>, to: Option<usize>, ) -> Vec<u8> ⓘ
fn collect_range_string( &self, from: Option<usize>, to: Option<usize>, ) -> Vec<String>
fn range_count(&self, from: Option<i64>, to: Option<i64>) -> usize
fn range_weight(&self, from: Option<i64>, to: Option<i64>) -> usize
Source§impl<I, T, S1I, S1T, S2I, S2T> AnyIterableVec<I, T> for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
impl<I, T, S1I, S1T, S2I, S2T> AnyIterableVec<I, T> for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
fn boxed_iter(&self) -> BoxedVecIterator<'_, I, T>
fn iter(&self) -> BoxedVecIterator<'_, I, T>where
I: StoredIndex,
T: StoredRaw,
Source§impl<I, T, S1I, S1T, S2I, S2T> AnyVec for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
impl<I, T, S1I, S1T, S2I, S2T> AnyVec for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
fn version(&self) -> Version
fn name(&self) -> &str
fn index_type_to_string(&self) -> &'static str
fn len(&self) -> usize
fn value_type_to_size_of(&self) -> usize
fn region_names(&self) -> Vec<String>
fn is_empty(&self) -> bool
fn index_to_name(&self) -> String
fn etag(&self, stamp: Stamp, to: Option<i64>) -> String
fn i64_to_usize(&self, i: i64) -> usize
Source§impl<I: Clone, T: Clone, S1I: Clone, S1T, S2I: Clone, S2T> Clone for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
impl<I: Clone, T: Clone, S1I: Clone, S1T, S2I: Clone, S2T> Clone for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
Source§fn clone(&self) -> LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
fn clone(&self) -> LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
Returns a duplicate 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, I, T, S1I, S1T, S2I, S2T> IntoIterator for &'a LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw + 'a,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
impl<'a, I, T, S1I, S1T, S2I, S2T> IntoIterator for &'a LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>where
I: StoredIndex,
T: StoredRaw + 'a,
S1I: StoredIndex,
S1T: StoredRaw,
S2I: StoredIndex,
S2T: StoredRaw,
Auto Trait Implementations§
impl<I, T, S1I, S1T, S2I, S2T> Freeze for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
impl<I, T, S1I, S1T, S2I, S2T> !RefUnwindSafe for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
impl<I, T, S1I, S1T, S2I, S2T> Send for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
impl<I, T, S1I, S1T, S2I, S2T> Sync for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
impl<I, T, S1I, S1T, S2I, S2T> Unpin for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
impl<I, T, S1I, S1T, S2I, S2T> !UnwindSafe for LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>
Blanket Implementations§
Source§impl<I, T, U> AnyCloneableIterableVec<I, T> for Uwhere
U: 'static + AnyIterableVec<I, T> + Clone,
impl<I, T, U> AnyCloneableIterableVec<I, T> for Uwhere
U: 'static + AnyIterableVec<I, T> + Clone,
fn boxed_clone(&self) -> Box<dyn AnyCloneableIterableVec<I, T>>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<I, T, V> CollectableVec<I, T> for V
impl<I, T, V> CollectableVec<I, T> for V
fn iter_range( &self, from: Option<usize>, to: Option<usize>, ) -> impl Iterator<Item = T>
fn iter_signed_range( &self, from: Option<i64>, to: Option<i64>, ) -> impl Iterator<Item = T>
fn collect(&self) -> Vec<T>
fn collect_range(&self, from: Option<usize>, to: Option<usize>) -> Vec<T>
fn collect_signed_range(&self, from: Option<i64>, to: Option<i64>) -> Vec<T>
fn collect_range_json_bytes( &self, from: Option<usize>, to: Option<usize>, ) -> Vec<u8> ⓘ
fn collect_range_string( &self, from: Option<usize>, to: Option<usize>, ) -> Vec<String>
fn i64_to_usize_(i: i64, len: usize) -> usize
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