pub trait CacheableArity<S: CacheableShape>: Arity {
type Cached: 'static;
// Required methods
fn into_cached<'a>(
values: Self::Container<'a, S::Element<'a>>,
) -> Self::Cached;
fn from_cached(cached: &Self::Cached) -> Self::Container<'_, S::Element<'_>>;
}Required Associated Types§
Required Methods§
fn into_cached<'a>(values: Self::Container<'a, S::Element<'a>>) -> Self::Cached
fn from_cached(cached: &Self::Cached) -> Self::Container<'_, S::Element<'_>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".