Struct kaspa_txscript::caches::Cache
source · pub struct Cache<TKey: Clone + Hash + Eq + Send + Sync, TData: Clone + Send + Sync, S = RandomState> { /* private fields */ }
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<TKey, TData, S = RandomState> !RefUnwindSafe for Cache<TKey, TData, S>
impl<TKey, TData, S> Send for Cache<TKey, TData, S>where S: Send + Sync,
impl<TKey, TData, S> Sync for Cache<TKey, TData, S>where S: Send + Sync,
impl<TKey, TData, S> Unpin for Cache<TKey, TData, S>
impl<TKey, TData, S = RandomState> !UnwindSafe for Cache<TKey, TData, S>
Blanket Implementations§
§impl<T> CastFrom for Twhere
T: Any + 'static,
impl<T> CastFrom for Twhere T: Any + 'static,
§fn ref_any(&self) -> &(dyn Any + 'static)
fn ref_any(&self) -> &(dyn Any + 'static)
Returns a immutable reference to
Any
, which is backed by the type implementing this trait.§fn mut_any(&mut self) -> &mut (dyn Any + 'static)
fn mut_any(&mut self) -> &mut (dyn Any + 'static)
Returns a mutable reference to
Any
, which is backed by the type implementing this trait.