pub struct EmbeddingCacheConfig {
pub capacity_entries: usize,
pub embedding_dim: usize,
}Fields§
§capacity_entries: usize§embedding_dim: usizeAuto Trait Implementations§
impl Freeze for EmbeddingCacheConfig
impl RefUnwindSafe for EmbeddingCacheConfig
impl Send for EmbeddingCacheConfig
impl Sync for EmbeddingCacheConfig
impl Unpin for EmbeddingCacheConfig
impl UnsafeUnpin for EmbeddingCacheConfig
impl UnwindSafe for EmbeddingCacheConfig
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