Struct semilattice_database::RelationIndex
source · pub struct RelationIndex { /* private fields */ }Implementations§
source§impl RelationIndex
impl RelationIndex
pub fn new(root_dir: &Path) -> Self
pub fn insert( &mut self, relation_key: &str, depend: CollectionRow, pend: CollectionRow )
pub fn delete(&mut self, row: u32)
pub fn delete_pends_by_collection_row(&mut self, collection_row: &CollectionRow)
pub fn pends( &self, key: &Option<String>, depend: &CollectionRow ) -> Vec<CollectionRow>
pub fn depends(&self, key: Option<&str>, pend: &CollectionRow) -> Vec<Depend>
pub fn index_depend(&self) -> &IdxFile<CollectionRow>
pub fn index_pend(&self) -> &IdxFile<CollectionRow>
pub fn depend(&self, row: u32) -> Option<&CollectionRow>
pub unsafe 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§
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