pub struct Plan {
pub prefix_granularity: i64,
pub lcm_block_bytes: i64,
pub num_lcm_blocks: i64,
pub groups: Vec<GroupLayout>,
pub planes: Vec<PlaneLayout>,
pub fields: Vec<FieldLayout>,
pub resident_block_bytes: Option<i64>,
}Expand description
One rank’s static cache byte geometry (CacheMemoryPlan).
Fields§
§prefix_granularity: i64Tokens per prefix-matching unit.
lcm_block_bytes: i64Bytes of one LCM parent.
num_lcm_blocks: i64Parents, the null one excluded.
groups: Vec<GroupLayout>The groups.
planes: Vec<PlaneLayout>The planes.
fields: Vec<FieldLayout>The fields.
resident_block_bytes: Option<i64>The retained planes’ bytes per parent, when narrowed to a layer window.
Trait Implementations§
impl Eq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.