Trait wasm_cache::CacheKey
source · pub trait CacheKey<M = ()>: Debug + Invalidatable<M> + 'static {
// Required methods
fn any(&self) -> &(dyn Any + 'static);
fn any_eq(&self, other: &dyn Any) -> bool;
fn any_ord(&self, other: &dyn Any) -> Ordering;
fn clone_boxed(&self) -> Box<dyn CacheKey>;
}Required Methods§
fn any(&self) -> &(dyn Any + 'static)
fn any_eq(&self, other: &dyn Any) -> bool
fn any_ord(&self, other: &dyn Any) -> Ordering
fn clone_boxed(&self) -> Box<dyn CacheKey>
Trait Implementations§
source§impl PartialEq<dyn CacheKey<()>> for dyn CacheKey
impl PartialEq<dyn CacheKey<()>> for dyn CacheKey
source§impl PartialOrd<dyn CacheKey<()>> for dyn CacheKey
impl PartialOrd<dyn CacheKey<()>> for dyn CacheKey
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more