Skip to main content

Module text

Module text 

Source

Re-exports§

pub use crate::text_selection::CCursorRange;

Structs§

ByteIndex
A byte offset into a UTF-8 string.
CCursor
Character cursor.
CharIndex
A character (Unicode scalar) offset into a string.
FontData
A .ttf or .otf file and a font face index.
FontDefinitions
Describes the font data and the sizes to use.
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.