Skip to main content

CacheableOperand

Trait CacheableOperand 

Source
pub trait CacheableOperand: Operand {
    type Cached: 'static;

    // Required methods
    fn into_cached(values: Self::ReturnValue<'_>) -> Self::Cached;
    fn from_cached(cached: &Self::Cached) -> Self::ReturnValue<'_>;
}

Required Associated Types§

Source

type Cached: 'static

Required Methods§

Source

fn into_cached(values: Self::ReturnValue<'_>) -> Self::Cached

Source

fn from_cached(cached: &Self::Cached) -> Self::ReturnValue<'_>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§