pub struct NodeCache {
pub values: HashMap<String, u64>,
}Expand description
A simple tree cache that memoises node computations.
Fields§
§values: HashMap<String, u64>Cached values by label
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeCache
impl RefUnwindSafe for NodeCache
impl Send for NodeCache
impl Sync for NodeCache
impl Unpin for NodeCache
impl UnsafeUnpin for NodeCache
impl UnwindSafe for NodeCache
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