text-document-common 1.4.0

Shared entities, database, events, and undo/redo infrastructure for text-document
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::inline_element_repository::{InlineElementTable, InlineElementTableRO};
use crate::entities::*;
use crate::impl_leaf_entity_table;

impl_leaf_entity_table! {
    entity: InlineElement,
    entity_name: "inline_element",
    store_field: inline_elements,
    table_trait: InlineElementTable,
    table_ro_trait: InlineElementTableRO,
    table_struct: InlineElementHashMapTable,
    table_ro_struct: InlineElementHashMapTableRO,
    backward_junctions: [
        (jn_inline_element_from_block_elements, "inline_element_from_block_elements_junction")
    ],
}