pub struct Cache<P>where
P: CacheType,{
pub nodes: HashMap<Ident, Rc<P>>,
}
Expand description
Caches pointers that can be reconstructed into a Buffer
.
Fields§
§nodes: HashMap<Ident, Rc<P>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for Cache<P>
impl<P> RefUnwindSafe for Cache<P>where
P: RefUnwindSafe,
impl<P> !Send for Cache<P>
impl<P> !Sync for Cache<P>
impl<P> Unpin for Cache<P>
impl<P> UnwindSafe for Cache<P>where
P: RefUnwindSafe,
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