rs-rich-ext 0.0.13

Extensions for the `rich` Rust port: diagnostics, structured data, clap and tracing integration, diffs, workflow renderables and a plugin registry
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use rich::Segment;
use std::sync::Arc;
/// Opaque region identity. IDs cannot be reused by another coordinator.
#[derive(Clone, Debug)]
pub struct RegionId {
    pub(super) owner: Arc<()>,
    pub(super) serial: u64,
}
pub(super) struct Region {
    pub id: RegionId,
    pub content: Vec<Segment>,
}