pub struct ModelMemoryConfig {
pub recent_limit: usize,
pub top_limit: usize,
pub momentum_decay_milli: u16,
pub prewarm_effect_windows: u8,
pub persist_path: Option<PathBuf>,
}Fields§
§recent_limit: usize§top_limit: usize§momentum_decay_milli: u16§prewarm_effect_windows: u8§persist_path: Option<PathBuf>Implementations§
Trait Implementations§
Source§impl Clone for ModelMemoryConfig
impl Clone for ModelMemoryConfig
Source§fn clone(&self) -> ModelMemoryConfig
fn clone(&self) -> ModelMemoryConfig
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 ModelMemoryConfig
impl Debug for ModelMemoryConfig
Source§impl Default for ModelMemoryConfig
impl Default for ModelMemoryConfig
Source§impl PartialEq for ModelMemoryConfig
impl PartialEq for ModelMemoryConfig
impl Eq for ModelMemoryConfig
impl StructuralPartialEq for ModelMemoryConfig
Auto Trait Implementations§
impl Freeze for ModelMemoryConfig
impl RefUnwindSafe for ModelMemoryConfig
impl Send for ModelMemoryConfig
impl Sync for ModelMemoryConfig
impl Unpin for ModelMemoryConfig
impl UnsafeUnpin for ModelMemoryConfig
impl UnwindSafe for ModelMemoryConfig
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