pub fn with_size(size: usize) -> SizedCache<K, V> {
        if size == 0 {
            panic!("`size` of `SizedCache` must be greater than zero.")
        }
        SizedCache {
            store: RawTable::with_capacity(size),
            hash_builder: RandomState::new(),
            order: LRUList::<(K, V)>::with_capacity(size),
            capacity: size,
            hits: 0,
            misses: 0,
        }
    }
/// Creates a new `SizedCache` with a given size limit and pre-allocated backing data
Creates a new `SizedCache` with a given size limit and pre-allocated backing data
Creates a new ` SizedCache ` with a given size limit and pre - allocated backing data
pub fn with_size(size: usize) -> SizedCache<K, V> {
        if size == 0 {
            panic!("`size` of `SizedCache` must be greater than zero.")
        }
        SizedCache {
            store: RawTable::with_capacity(size),
            hash_builder: RandomState::new(),
            order: LRUList::<(K, V)>::with_capacity(size),
            capacity: size,
            hits: 0,
            misses: 0,
        }
    }
pub fn with_size ( size : usize ) -> SizedCache < K , V > { if size == 0 { panic ! ( " " ) } SizedCache { store : RawTable :: with_capacity ( size ) , hash_builder : RandomState :: new ( ) , order : LRUList :: < ( K , V ) > :: with_capacity ( size ) , capacity : size , hits : 0 , misses : 0 , } }
Creates a new `SizedCache` with a given size limit and pre-allocated backing data
Creates a new ` SizedCache ` with a given size limit and pre - allocated backing data
size
usize