Struct cosmic_text::TextLayoutRun
source · [−]pub struct TextLayoutRun<'a> {
pub line_i: TextLineIndex,
pub text: &'a str,
pub rtl: bool,
pub glyphs: &'a [LayoutGlyph],
pub line_y: i32,
}Fields
line_i: TextLineIndexThe index of the original text line
text: &'a strThe original text line
rtl: boolTrue if the original paragraph direction is RTL
glyphs: &'a [LayoutGlyph]The array of layout glyphs to draw
line_y: i32Y offset of line
Auto Trait Implementations
impl<'a> RefUnwindSafe for TextLayoutRun<'a>
impl<'a> Send for TextLayoutRun<'a>
impl<'a> Sync for TextLayoutRun<'a>
impl<'a> Unpin for TextLayoutRun<'a>
impl<'a> UnwindSafe for TextLayoutRun<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more