Struct semilattice_database::RelationIndexes
source · [−]pub struct RelationIndexes { /* private fields */ }Implementations
sourceimpl RelationIndexes
impl RelationIndexes
pub fn new(
key_names: IdxBinary,
key: IdxSized<u32>,
parent: IdxSized<CollectionRow>,
child: IdxSized<CollectionRow>
) -> RelationIndexes
pub fn insert(
&mut self,
relation_key: &str,
parent: CollectionRow,
child: CollectionRow
)
pub fn childs(&self, key: &str, parent: &CollectionRow) -> Vec<CollectionRow>
Auto Trait Implementations
impl RefUnwindSafe for RelationIndexes
impl !Send for RelationIndexes
impl !Sync for RelationIndexes
impl Unpin for RelationIndexes
impl UnwindSafe for RelationIndexes
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