pub struct TextLine<'a> {
pub run: &'a TextRun,
pub origin: Point,
}Expand description
One line of a text as matplotlib’s Text.draw hands it to a
renderer’s draw_text or draw_tex: the line laid out (its
TextRun::source says what it is) and the left end of its baseline,
in display coordinates.
Fields§
§run: &'a TextRunThe line laid out.
origin: PointThe left end of its baseline.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for TextLine<'a>
impl<'a> Freeze for TextLine<'a>
impl<'a> Move for TextLine<'a>
impl<'a> RefUnwindSafe for TextLine<'a>
impl<'a> Send for TextLine<'a>
impl<'a> Sync for TextLine<'a>
impl<'a> Unpin for TextLine<'a>
impl<'a> UnsafeUnpin for TextLine<'a>
impl<'a> UnwindSafe for TextLine<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more