Struct nodejs_resolver::Cache
source · pub struct Cache {
pub fs: CachedFS,
pub entries: DashMap<Box<Path>, Arc<Entry>, BuildHasherDefault<FxHasher>>,
}
Fields§
§fs: CachedFS
§entries: DashMap<Box<Path>, Arc<Entry>, BuildHasherDefault<FxHasher>>
File entries keyed by normalized paths
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Cache
impl Send for Cache
impl Sync for Cache
impl Unpin for Cache
impl !UnwindSafe for Cache
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