Module conrod::text::cursor [] [src]

Logic related to the positioning of the cursor within text.

Structs

Index

An index representing the position of a cursor within some text.

Xs

Each possible cursor position along the x axis within a line of text.

XysPerLine

Every possible cursor position within each line of text yielded by the given iterator.

Functions

index_before_char

Convert the given character index into a cursor Index.

xy_at

Determine the xy location of the cursor at the given cursor Index.

xys_per_line

Every possible cursor position within each line of text yielded by the given iterator.