useserde::Serialize;/// Half-open byte range into the docblock text.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize)]pubstructSpan{/// Start byte offset.
pubstart:u32,
/// End byte offset (exclusive).
pubend:u32,
}implSpan{/// Creates a span from start and end offsets.
pubfnnew(start:u32, end:u32)->Self{Self{ start, end }}}