pub struct AliasCache {
pub cache: HashMap<(u32, u32), AliasResultExt>,
pub hits: u64,
pub misses: u64,
}Expand description
Alias cache (for repeated queries)
Fields§
§cache: HashMap<(u32, u32), AliasResultExt>§hits: u64§misses: u64Implementations§
Trait Implementations§
Source§impl Debug for AliasCache
impl Debug for AliasCache
Source§impl Default for AliasCache
impl Default for AliasCache
Source§fn default() -> AliasCache
fn default() -> AliasCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AliasCache
impl RefUnwindSafe for AliasCache
impl Send for AliasCache
impl Sync for AliasCache
impl Unpin for AliasCache
impl UnsafeUnpin for AliasCache
impl UnwindSafe for AliasCache
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