pub struct FactStore<T> {
pub by_id: BTreeMap<FactId, MemoryFragment<T>>,
}Expand description
FactStore data container.
Fields§
§by_id: BTreeMap<FactId, MemoryFragment<T>>by_id field for by id.
Implementations§
Source§impl<T> FactStore<T>
impl<T> FactStore<T>
Sourcepub fn read_handle(&self) -> StoreReadHandle<'_, T>
pub fn read_handle(&self) -> StoreReadHandle<'_, T>
Updates or reads read_handle.
Trait Implementations§
impl<T> StructuralPartialEq for FactStore<T>
Auto Trait Implementations§
impl<T> Freeze for FactStore<T>
impl<T> RefUnwindSafe for FactStore<T>where
T: RefUnwindSafe,
impl<T> Send for FactStore<T>where
T: Send,
impl<T> Sync for FactStore<T>where
T: Sync,
impl<T> Unpin for FactStore<T>
impl<T> UnsafeUnpin for FactStore<T>
impl<T> UnwindSafe for FactStore<T>where
T: 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