pub enum ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T> {
Eager {
vec: EagerVec<I, T>,
deps: Dependencies<I, T, S1I, S1T, S2I, S2T, S3I, S3T>,
},
LazyFrom1(LazyVecFrom1<I, T, S1I, S1T>),
LazyFrom2(LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>),
LazyFrom3(LazyVecFrom3<I, T, S1I, S1T, S2I, S2T, S3I, S3T>),
}Variants§
Eager
LazyFrom1(LazyVecFrom1<I, T, S1I, S1T>)
LazyFrom2(LazyVecFrom2<I, T, S1I, S1T, S2I, S2T>)
LazyFrom3(LazyVecFrom3<I, T, S1I, S1T, S2I, S2T, S3I, S3T>)
Implementations§
Source§impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
pub fn forced_import_or_init_from_1( mode: Computation, path: &Path, value_name: &str, version: Version, format: Format, source: BoxedAnyIterableVec<S1I, S1T>, compute: ComputeFrom1<I, T, S1I, S1T>, ) -> Result<Self>
pub fn forced_import_or_init_from_2( mode: Computation, path: &Path, value_name: &str, version: Version, format: Format, source1: BoxedAnyIterableVec<S1I, S1T>, source2: BoxedAnyIterableVec<S2I, S2T>, compute: ComputeFrom2<I, T, S1I, S1T, S2I, S2T>, ) -> Result<Self>
pub fn forced_import_or_init_from_3( mode: Computation, path: &Path, value_name: &str, version: Version, format: Format, source1: BoxedAnyIterableVec<S1I, S1T>, source2: BoxedAnyIterableVec<S2I, S2T>, source3: BoxedAnyIterableVec<S3I, S3T>, compute: ComputeFrom3<I, T, S1I, S1T, S2I, S2T, S3I, S3T>, ) -> Result<Self>
pub fn compute_if_necessary<T2>( &mut self, max_from: I, len_source: &impl AnyIterableVec<I, T2>, exit: &Exit, ) -> Result<()>
Trait Implementations§
Source§impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> AnyCollectableVec for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> AnyCollectableVec for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
Source§impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> AnyIterableVec<I, T> for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> AnyIterableVec<I, T> for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
fn boxed_iter<'a>(&'a self) -> BoxedVecIterator<'a, I, T>where
T: 'a,
fn iter<'a>(&'a self) -> BoxedVecIterator<'a, I, T>where
I: StoredIndex,
T: StoredType + 'a,
fn iter_at<'a>(&'a self, i: I) -> BoxedVecIterator<'a, I, T>where
I: StoredIndex,
T: StoredType + 'a,
fn iter_at_<'a>(&'a self, i: usize) -> BoxedVecIterator<'a, I, T>where
I: StoredIndex,
T: StoredType + 'a,
Source§impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> AnyVec for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> AnyVec for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
Source§impl<I: Clone, T: Clone, S1I: Clone, S1T: Clone, S2I: Clone, S2T: Clone, S3I: Clone, S3T: Clone> Clone for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
impl<I: Clone, T: Clone, S1I: Clone, S1T: Clone, S2I: Clone, S2T: Clone, S3I: Clone, S3T: Clone> Clone for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
Source§fn clone(&self) -> ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
fn clone(&self) -> ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
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, S3I, S3T> IntoIterator for &'a ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
impl<'a, I, T, S1I, S1T, S2I, S2T, S3I, S3T> IntoIterator for &'a ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>where
I: StoredIndex,
T: StoredType,
S1I: StoredIndex,
S1T: StoredType,
S2I: StoredIndex,
S2T: StoredType,
S3I: StoredIndex,
S3T: StoredType,
Auto Trait Implementations§
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> Freeze for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> !RefUnwindSafe for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> Send for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> Sync for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> Unpin for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
impl<I, T, S1I, S1T, S2I, S2T, S3I, S3T> !UnwindSafe for ComputedVec<I, T, S1I, S1T, S2I, S2T, S3I, S3T>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<I, T, U> CloneableAnyIterableVec<I, T> for Uwhere
U: 'static + AnyIterableVec<I, T> + Clone,
impl<I, T, U> CloneableAnyIterableVec<I, T> for Uwhere
U: 'static + AnyIterableVec<I, T> + Clone,
fn boxed_clone(&self) -> Box<dyn CloneableAnyIterableVec<I, T>>
Source§impl<I, T, V> CollectableVec<I, T> for V
impl<I, T, V> CollectableVec<I, T> for V
fn collect_range( &self, from: Option<usize>, to: Option<usize>, ) -> Result<Vec<T>>
fn i64_to_usize(i: i64, len: usize) -> usize
fn range_count(from: Option<i64>, to: Option<i64>, len: usize) -> usize
fn collect_range_serde_json( &self, from: Option<i64>, to: Option<i64>, ) -> Result<Vec<Value>>
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