Module difft::lines[][src]

Expand description

Manipulate lines of text and groups of lines.

Structs

A position in a single line of a string.

Traits

Functions

Return the length of s in bytes.

Return the length of s in codepoints. This is important when finding character boundaries for slicing without errors.