pub struct InternStorage<T: ?Sized> {
pub(crate) map: OnceLock<DashMap<Arc<T>, (), BuildHasherDefault<FxHasher>>>,
}
Fields§
§map: OnceLock<DashMap<Arc<T>, (), BuildHasherDefault<FxHasher>>>
Implementations§
Source§impl<T: Internable + ?Sized> InternStorage<T>
impl<T: Internable + ?Sized> InternStorage<T>
pub(crate) fn get(&self) -> &DashMap<Arc<T>, (), BuildHasherDefault<FxHasher>>
Auto Trait Implementations§
impl<T> !Freeze for InternStorage<T>
impl<T> !RefUnwindSafe for InternStorage<T>
impl<T> Send for InternStorage<T>
impl<T> Sync for InternStorage<T>
impl<T> Unpin for InternStorage<T>where
T: ?Sized,
impl<T> UnwindSafe for InternStorage<T>where
T: RefUnwindSafe + ?Sized,
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