pub struct Cacher<T, P, O>{
pub caculation: T,
pub value: HashMap<P, O>,
}
Fields§
§caculation: T
§value: HashMap<P, O>
Implementations§
Auto Trait Implementations§
impl<T, P, O> Freeze for Cacher<T, P, O>where
T: Freeze,
impl<T, P, O> RefUnwindSafe for Cacher<T, P, O>
impl<T, P, O> Send for Cacher<T, P, O>
impl<T, P, O> Sync for Cacher<T, P, O>
impl<T, P, O> Unpin for Cacher<T, P, O>
impl<T, P, O> UnwindSafe for Cacher<T, P, O>
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