Struct semilattice_database::RelationIndex
source · [−]pub struct RelationIndex { /* private fields */ }Implementations
sourceimpl RelationIndex
impl RelationIndex
pub fn new(root_dir: &str) -> Result<RelationIndex, Error>
pub fn insert(
&mut self,
relation_key: &str,
depend: CollectionRow,
pend: CollectionRow
)
pub fn delete(&mut self, row: u32)
pub fn pends(&self, key: &str, depend: &CollectionRow) -> Vec<CollectionRow>
pub fn index_depend(&self) -> &IdxSized<CollectionRow>
pub fn index_pend(&self) -> &IdxSized<CollectionRow>
pub fn depend(&self, row: u32) -> Option<CollectionRow>
pub fn key(&self, row: u32) -> &str
Auto Trait Implementations
impl RefUnwindSafe for RelationIndex
impl Send for RelationIndex
impl Sync for RelationIndex
impl Unpin for RelationIndex
impl UnwindSafe for RelationIndex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more