pub struct HistoryStore { /* private fields */ }Expand description
Opens the section on first use, like descriptions and the word index.
Implementations§
Source§impl HistoryStore
impl HistoryStore
Sourcepub fn loaded(index: HistoryIndex) -> Self
pub fn loaded(index: HistoryIndex) -> Self
For tests and for callers that built an index in memory.
pub fn get(&self) -> Result<Option<&HistoryIndex>>
Trait Implementations§
Source§impl Debug for HistoryStore
impl Debug for HistoryStore
Auto Trait Implementations§
impl !Freeze for HistoryStore
impl RefUnwindSafe for HistoryStore
impl Send for HistoryStore
impl Sync for HistoryStore
impl Unpin for HistoryStore
impl UnsafeUnpin for HistoryStore
impl UnwindSafe for HistoryStore
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