Geometry.LineSourceAn abstract line with start and end positions.
A line represents any type that has a start and an end, used throughout the layout engine to represent pairs of values along an axis (e.g., padding, margin, or insets in a single direction).
The type of a line with start and end values of type 'a.
The end_ field uses an underscore suffix to avoid conflict with the OCaml keyword end.
map2 f line1 line2 applies f to corresponding components.
sum line returns the sum of start and end values.
This is typically used when computing total padding or margins along an axis.
compare cmp a b compares two lines using cmp.
Compares start fields first, then end_ fields if start values are equal.
equal eq a b tests equality of two lines using eq.
Returns true if both start and end values are equal according to eq.
to_string f line converts line to a string representation using f to format individual values.
pp f fmt line pretty-prints line to fmt using f to format individual values.