pub struct ShortTermConfig {
pub max_capacity: usize,
pub consolidation_threshold: f32,
}Expand description
Configuration for short-term buffer
Fields§
§max_capacity: usizeMaximum number of patterns before consolidation
consolidation_threshold: f32Consolidation threshold (trigger when this full)
Trait Implementations§
Source§impl Clone for ShortTermConfig
impl Clone for ShortTermConfig
Source§fn clone(&self) -> ShortTermConfig
fn clone(&self) -> ShortTermConfig
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 Debug for ShortTermConfig
impl Debug for ShortTermConfig
Auto Trait Implementations§
impl Freeze for ShortTermConfig
impl RefUnwindSafe for ShortTermConfig
impl Send for ShortTermConfig
impl Sync for ShortTermConfig
impl Unpin for ShortTermConfig
impl UnwindSafe for ShortTermConfig
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