Update TextLayoutRun::rtl doc

This commit is contained in:
Jeremy Soller 2022-10-25 13:14:38 -06:00
parent 0336e0c5e9
commit 8f9d9de87f
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE

View file

@ -80,7 +80,7 @@ pub struct TextLayoutRun<'a> {
pub line_i: TextLineIndex,
/// The original text line
pub text: &'a str,
/// True if the original shaped line was RTL
/// True if the original paragraph starts from the right
pub rtl: bool,
/// The array of layout glyphs to draw
pub glyphs: &'a [LayoutGlyph],