global: snapshot

This commit is contained in:
nym21
2026-03-13 16:27:10 +01:00
parent b2a1251774
commit 3709ceff8e
168 changed files with 2007 additions and 2008 deletions
@@ -1,4 +1,4 @@
//! ComputedPerTxDistribution - stored per-tx EagerVec + computed distribution.
//! PerTxDistribution - stored per-tx EagerVec + computed distribution.
//!
//! Like LazyFromTxDistribution, but the per-tx source is eagerly computed
//! and stored rather than lazily derived.
@@ -16,7 +16,7 @@ use crate::{
};
#[derive(Traversable)]
pub struct ComputedPerTxDistribution<T, M: StorageMode = Rw>
pub struct PerTxDistribution<T, M: StorageMode = Rw>
where
T: ComputedVecValue + PartialOrd + JsonSchema,
{
@@ -25,7 +25,7 @@ where
pub distribution: TxDerivedDistribution<T, M>,
}
impl<T> ComputedPerTxDistribution<T>
impl<T> PerTxDistribution<T>
where
T: NumericValue + JsonSchema,
{
@@ -8,7 +8,7 @@ use crate::internal::{ComputedVecValue, LazyTxDerivedDistribution, TxDerivedDist
/// Like `LazyPerTxDistribution` but with a lazy-derived distribution
/// (transformed from another type's distribution rather than eagerly computed).
#[derive(Clone, Traversable)]
pub struct LazyPerTxDistributionDerived<T, S1, S2, DSource>
pub struct LazyPerTxDistributionTransformed<T, S1, S2, DSource>
where
T: ComputedVecValue + JsonSchema,
S1: ComputedVecValue,
@@ -20,7 +20,7 @@ where
pub distribution: LazyTxDerivedDistribution<T, DSource>,
}
impl<T, S1, S2, DSource> LazyPerTxDistributionDerived<T, S1, S2, DSource>
impl<T, S1, S2, DSource> LazyPerTxDistributionTransformed<T, S1, S2, DSource>
where
T: ComputedVecValue + JsonSchema + 'static,
S1: ComputedVecValue + JsonSchema,
@@ -2,10 +2,10 @@ mod derived;
mod distribution;
mod lazy_derived;
mod lazy_distribution;
mod lazy_distribution_derived;
mod lazy_distribution_transformed;
pub use derived::*;
pub use distribution::*;
pub use lazy_derived::*;
pub use lazy_distribution::*;
pub use lazy_distribution_derived::*;
pub use lazy_distribution_transformed::*;