[][src]Struct emu_core::cache::GlobalCache

pub struct GlobalCache;

A simple in-memory LRU cache for up to 32 JIT-ed kernels

Methods

impl GlobalCache[src]

pub fn reserve(additional: usize)[src]

Reserves space for the given number of additional kernels

Trait Implementations

impl Cache for GlobalCache[src]

Auto Trait Implementations

impl RefUnwindSafe for GlobalCache

impl Send for GlobalCache

impl Sync for GlobalCache

impl Unpin for GlobalCache

impl UnwindSafe for GlobalCache

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> AsDeviceBoxed<T> for U where
    T: AsBytes + ?Sized,
    U: Borrow<T>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.