difftastic-lib 0.0.1

A structural diff that understands syntax.
Documentation
//! Represents positions within a string.

use crate::lines::LineNumber;

/// A range within a single line of a string.
#[derive(Debug, PartialEq, Clone, Copy, Eq, PartialOrd, Ord, Hash)]
pub struct SingleLineSpan {
    /// All zero-indexed.
    pub line: LineNumber,
    pub start_col: u32,
    pub end_col: u32,
}