mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 06:39:58 -07:00
12 lines
381 B
Rust
12 lines
381 B
Rust
use brk_traversable::Traversable;
|
|
use brk_types::{StoredF32, Weight};
|
|
use vecdb::{Rw, StorageMode};
|
|
|
|
use crate::internal::{ComputedHeightDerivedFull, LazyFromHeightTransformDistribution};
|
|
|
|
#[derive(Traversable)]
|
|
pub struct Vecs<M: StorageMode = Rw> {
|
|
pub weight: ComputedHeightDerivedFull<Weight, M>,
|
|
pub fullness: LazyFromHeightTransformDistribution<StoredF32, Weight>,
|
|
}
|