Docs.rs
loro-1.4.6
loro 1.4.6
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
zxch3n
Leeeon233
Dependencies
loro-delta ^1.3.1
normal
enum-as-inner ^0.6.0
normal
fxhash ^0.2.1
normal
generic-btree ^0.10.5
normal
loro-common ^1.4.6
normal
loro-internal ^1.4.6
normal
loro-kv-store ^1.4.6
normal
tracing ^0.1
normal
anyhow ^1.0.83
dev
ctor ^0.2
dev
pretty_assertions ^1.4.0
dev
rand ^0.8.5
dev
serde_json ^1.0.87
dev
Versions
100%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
loro
1.4.6
Module undo
Module Items
Structs
Enums
Type Aliases
In crate loro
loro
Module
undo
Copy item path
Source
Structs
§
Cursor
With
Pos
Diff
Batch
A batch of diffs.
Undo
Item
Meta
The metadata of an undo item.
Undo
Manager
UndoManager is responsible for managing undo/redo from the current peer’s perspective.
Enums
§
Undo
OrRedo
Type Aliases
§
OnPop
OnPush
When a undo/redo item is pushed, the undo manager will call the on_push callback to get the meta data of the undo item. The returned cursors will be recorded for a new pushed undo item.