pub struct TextBlockLayoutOutput {
pub contours: Vec<TextContour>,
pub contour_group_sizes: Vec<usize>,
pub line_widths: Vec<f64>,
pub width: f64,
pub height: f64,
pub glyphs: usize,
pub outline_commands: usize,
pub bezier_work_items: usize,
pub peak_temporary_bezier_points: usize,
}Expand description
Positioned block contours and bounded construction accounting.
Fields§
§contours: Vec<TextContour>§contour_group_sizes: Vec<usize>Contiguous per-glyph (and per-overbar) contour counts in draw order,
summing to contours.len().
line_widths: Vec<f64>§width: f64§height: f64§glyphs: usize§outline_commands: usize§bezier_work_items: usize§peak_temporary_bezier_points: usizeTrait Implementations§
Source§impl Clone for TextBlockLayoutOutput
impl Clone for TextBlockLayoutOutput
Source§fn clone(&self) -> TextBlockLayoutOutput
fn clone(&self) -> TextBlockLayoutOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TextBlockLayoutOutput
impl RefUnwindSafe for TextBlockLayoutOutput
impl Send for TextBlockLayoutOutput
impl Sync for TextBlockLayoutOutput
impl Unpin for TextBlockLayoutOutput
impl UnsafeUnpin for TextBlockLayoutOutput
impl UnwindSafe for TextBlockLayoutOutput
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