pub type BufferId = u64;Expand description
Stable identifier for an open buffer. Assigned by the App; carried through every syntax-pipeline message so the worker can multiplex per-buffer tree state.
§Examples
use hjkl_syntax::BufferId;
let id: BufferId = 42;
assert_eq!(id, 42);Stable per-buffer identifier carried through async pipelines (syntax, git-signs, format-worker) so workers can multiplex per-buffer state without holding buffer references.
Assigned by the application layer; 0 is a valid test sentinel.
§Example
use hjkl_buffer::BufferId;
let id: BufferId = 42;
assert_eq!(id, 42);