Struct sequential_storage::cache::NoCache
source · pub struct NoCache { /* private fields */ }
Expand description
A cache object implementing no cache.
This type of cache doesn’t have to be kept around and may be constructed on every api call.
You could simply pass &mut NoCache::new()
every time.
Implementations§
Trait Implementations§
impl CacheImpl for NoCache
impl<KEY: Eq> KeyCacheImpl<KEY> for NoCache
Auto Trait Implementations§
impl RefUnwindSafe for NoCache
impl Send for NoCache
impl Sync for NoCache
impl Unpin for NoCache
impl UnwindSafe for NoCache
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more