Struct erg_compiler::context::cache::TypeCmpCache
source · pub struct TypeCmpCache { /* private fields */ }
Expand description
Caches type relationships. The cost of searching for subtype relations of a class, for example, is not small. Some relationships are cached because they tend to be queried many times.
Implementations§
Trait Implementations§
source§impl Debug for TypeCmpCache
impl Debug for TypeCmpCache
source§impl Default for TypeCmpCache
impl Default for TypeCmpCache
source§fn default() -> TypeCmpCache
fn default() -> TypeCmpCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for TypeCmpCache
impl !Send for TypeCmpCache
impl !Sync for TypeCmpCache
impl Unpin for TypeCmpCache
impl !UnwindSafe for TypeCmpCache
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