Trait grafix_toolbox::lib::prefetch::Fetcher

source ·
pub trait Fetcher<K, T> {
    // Required methods
    fn get(&self, _: K) -> &T;
    fn take(&self, _: K) -> T;
}

Required Methods§

source

fn get(&self, _: K) -> &T

source

fn take(&self, _: K) -> T

Implementors§