Struct lfan::ModularCache [−][src]
Implementations
impl<K, V, IP, EP> ModularCache<K, V, IP, EP> where
K: Hash + Eq + Debug,
IP: Default + InsertionPolicy<K>,
EP: Default + EvictionPolicy<K>,
[src]
K: Hash + Eq + Debug,
IP: Default + InsertionPolicy<K>,
EP: Default + EvictionPolicy<K>,
Trait Implementations
impl<K: Default, V: Default, IP: Default, EP: Default> Default for ModularCache<K, V, IP, EP> where
K: Hash + Eq,
IP: Default + InsertionPolicy<K>,
EP: Default + EvictionPolicy<K>,
[src]
K: Hash + Eq,
IP: Default + InsertionPolicy<K>,
EP: Default + EvictionPolicy<K>,
fn default() -> ModularCache<K, V, IP, EP>
[src]
Auto Trait Implementations
impl<K, V, IP, EP> RefUnwindSafe for ModularCache<K, V, IP, EP> where
EP: RefUnwindSafe,
IP: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
EP: RefUnwindSafe,
IP: RefUnwindSafe,
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V, IP, EP> Send for ModularCache<K, V, IP, EP> where
EP: Send,
IP: Send,
K: Send,
V: Send,
EP: Send,
IP: Send,
K: Send,
V: Send,
impl<K, V, IP, EP> Sync for ModularCache<K, V, IP, EP> where
EP: Sync,
IP: Sync,
K: Sync,
V: Sync,
EP: Sync,
IP: Sync,
K: Sync,
V: Sync,
impl<K, V, IP, EP> Unpin for ModularCache<K, V, IP, EP> where
EP: Unpin,
IP: Unpin,
K: Unpin,
V: Unpin,
EP: Unpin,
IP: Unpin,
K: Unpin,
V: Unpin,
impl<K, V, IP, EP> UnwindSafe for ModularCache<K, V, IP, EP> where
EP: UnwindSafe,
IP: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
EP: UnwindSafe,
IP: UnwindSafe,
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,