pub struct TextLines<'a> {
pub lines: &'a [TextLine<'a>],
pub angle: f64,
pub source: &'a dyn Any,
}Expand description
A text as matplotlib’s Text.draw draws it through a renderer: its
lines, its rotation, and what drew it (its artist and its font, as the
crate drawing it describes them), for renderers that take texts whole
(see Renderer::draw_text_lines).
Fields§
§lines: &'a [TextLine<'a>]The lines, first to last.
angle: f64The rotation in degrees counter-clockwise.
source: &'a dyn AnyWhat drew the text, as the crate drawing it describes it.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for TextLines<'a>
impl<'a> !Send for TextLines<'a>
impl<'a> !Sync for TextLines<'a>
impl<'a> !UnwindSafe for TextLines<'a>
impl<'a> Forget for TextLines<'a>
impl<'a> Freeze for TextLines<'a>
impl<'a> Move for TextLines<'a>
impl<'a> Unpin for TextLines<'a>
impl<'a> UnsafeUnpin for TextLines<'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