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
// Generated by Qleany v1.4.8 from types.tera

pub type Savepoint = u64;
pub type EntityId = u64;

/// The well-known ID of the single root entity created at database init time.
pub const ROOT_ENTITY_ID: EntityId = 1;

pub trait HasId {
    fn id(&self) -> EntityId;
}