Lampese/lomo/state does not have a README file
pub(all) enum AnchorType {
Start
End
}pub enum ContainerState {
MapState(MapState)
ListState(ListState)
TextState(TextState)
MovableListState(MovableListState)
TreeState(TreeState)
CounterState(CounterState)
}impl Show for ContainerStatepub struct CounterState {
value : Double
}impl Show for CounterStatefn DocState::apply_op_with_vv(self : DocState, arena : SharedArena, op : Op, id : ID, lamport : UInt, vv : VersionVector) -> Result[Unit, LoroError]fn DocState::apply_raw_op(self : DocState, arena : SharedArena, raw_op : RawOp) -> Result[Unit, LoroError]fn DocState::get_or_create(self : DocState, id : ContainerID, container_type : ContainerType) -> ContainerStatefn DocState::list_id_at(self : DocState, id : ContainerID, index : Int) -> Result[IdFull, LoroError]fn DocState::list_value_at(self : DocState, id : ContainerID, index : Int) -> Result[LoroValue?, LoroError]fn DocState::map_get(self : DocState, id : ContainerID, key : String) -> Result[LoroValue?, LoroError]fn DocState::movable_list_elem_id_at(self : DocState, id : ContainerID, index : Int) -> Result[IdLp, LoroError]fn DocState::movable_list_id_at(self : DocState, id : ContainerID, index : Int) -> Result[IdFull, LoroError]fn DocState::movable_list_value_at(self : DocState, id : ContainerID, index : Int) -> Result[LoroValue?, LoroError]fn DocState::set_movable_list_state(self : DocState, id : ContainerID, state : MovableListState) -> Unitfn DocState::text_id_at(self : DocState, id : ContainerID, index : Int) -> Result[IdFull, LoroError]fn DocState::text_list_pos_to_text_pos(self : DocState, id : ContainerID, list_pos : Int) -> Result[Int, LoroError]fn DocState::text_slice(self : DocState, id : ContainerID, start : Int, end : Int) -> Result[String, LoroError]fn DocState::text_text_index_to_list_pos(self : DocState, id : ContainerID, text_pos : Int) -> Result[Int, LoroError]fn DocState::text_text_pos_to_list_pos(self : DocState, id : ContainerID, text_pos : Int) -> Result[Int, LoroError]fn DocState::text_unicode_index_from_utf16(self : DocState, id : ContainerID, offset : Int) -> Result[Int, LoroError]fn DocState::text_unicode_index_from_utf8(self : DocState, id : ContainerID, offset : Int) -> Result[Int, LoroError]fn DocState::tree_children(self : DocState, id : ContainerID, parent : TreeParentId) -> Result[Array[TreeID], LoroError]fn ListState::apply_inner_op(self : ListState, arena : SharedArena, op : InnerListOp, base_id : IdFull) -> Result[Unit, LoroError]fn ListState::apply_inner_op_with_vv(self : ListState, arena : SharedArena, op : InnerListOp, base_id : IdFull, vv : VersionVector) -> Result[Unit, LoroError]impl Show for MovableElemimpl Show for MovableListStatefn MovableListState::append_elem_full(self : MovableListState, value : LoroValue, id : IdFull, elem_id : IdLp, last_set_id : IdLp) -> Unitfn MovableListState::apply_inner_op(self : MovableListState, arena : SharedArena, op : InnerListOp, base_id : IdFull) -> Result[Unit, LoroError]fn MovableListState::apply_inner_op_with_vv(self : MovableListState, arena : SharedArena, op : InnerListOp, base_id : IdFull, vv : VersionVector) -> Result[Unit, LoroError]fn MovableListState::ids_in_range(self : MovableListState, start : Int, end : Int) -> Result[Array[IdFull], LoroError]fn MovableListState::value_at(self : MovableListState, index : Int) -> Result[LoroValue?, LoroError]fn StyleSpan::new(start : Int, end : Int, key : String, value : LoroValue, expand : ExpandType) -> StyleSpanfn TextState::apply_inner_op(self : TextState, op : InnerListOp, base_id : IdFull) -> Result[Unit, LoroError]fn TextState::apply_inner_op_with_vv(self : TextState, op : InnerListOp, base_id : IdFull, vv : VersionVector) -> Result[Unit, LoroError]fn TextState::insert_with_vv(self : TextState, pos : Int, text : String, base_id : IdFull, vv : VersionVector) -> Unitfn TreeNode::new(id : TreeID, parent : TreeParentId, position : FractionalIndex, last_id : IdLp) -> TreeNodeDependencies