CacheSize

Trait CacheSize 

Source
pub trait CacheSize {
    // Required method
    fn cache_size(&self) -> usize;
}
Expand description

Trait for getting size of cached values

Required Methods§

Source

fn cache_size(&self) -> usize

Implementations on Foreign Types§

Source§

impl CacheSize for f32

Source§

impl CacheSize for f64

Source§

impl CacheSize for i32

Source§

impl CacheSize for i64

Source§

impl CacheSize for ()

Source§

impl CacheSize for String

Source§

impl<T> CacheSize for Box<T>

Source§

impl<T> CacheSize for Vec<T>

Implementors§