Skip to main content

validated_segment

Function validated_segment 

Source
pub fn validated_segment(
    start: f64,
    end: f64,
    text: impl Into<String>,
) -> Option<Segment>
Expand description

Validated segment constructor (rejects NaN/inverted spans).