pub struct SymbolCacheConfig {
pub max_symbols: usize,
pub max_bytes: usize,
}Expand description
Symbol cache configuration.
Optimized for symbol lookup caching.
Fields§
§max_symbols: usizeMaximum number of symbols to cache
max_bytes: usizeMaximum memory for symbol cache in bytes
Trait Implementations§
Source§impl Clone for SymbolCacheConfig
impl Clone for SymbolCacheConfig
Source§fn clone(&self) -> SymbolCacheConfig
fn clone(&self) -> SymbolCacheConfig
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 SymbolCacheConfig
impl Debug for SymbolCacheConfig
Source§impl Default for SymbolCacheConfig
impl Default for SymbolCacheConfig
Source§fn default() -> SymbolCacheConfig
fn default() -> SymbolCacheConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SymbolCacheConfig
impl RefUnwindSafe for SymbolCacheConfig
impl Send for SymbolCacheConfig
impl Sync for SymbolCacheConfig
impl Unpin for SymbolCacheConfig
impl UnsafeUnpin for SymbolCacheConfig
impl UnwindSafe for SymbolCacheConfig
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