Skip to main content

Module text

Module text 

Source

Structs§

ByteIndex
A byte offset into a UTF-8 string.
CCursor
Character cursor.
CCursorRange
A selected text range (could be a range of length zero).
CharIndex
A character (Unicode scalar) offset into a string.
FontData
A .ttf or .otf file and a font face index.
FontDefinitions
Describes a set of pre-configured fonts.
Fonts
The collection of fonts used by epaint.
Galley
Text that has been laid out, ready for painting.
LayoutJob
Describes the task of laying out text.
LayoutSection
A contiguous range of LayoutJob::text that shares the same TextFormat.
TextFormat
Formatting option for a section of text.
TextWrapping
Controls the text wrapping and elision of a LayoutJob.

Enums§

FontFamily
Font of unknown size.

Type Aliases§

ByteRange
A range of ByteIndex, i.e. a byte range into a str.
CharRange
A range of CharIndex, i.e. a character range into a str.