pub struct Rendered {
pub layers: Vec<Layer>,
pub origin: [f32; 2],
pub size: [f32; 2],
pub pad: f32,
pub lines: Vec<f32>,
pub glyphs: Vec<Glyph>,
}Expand description
A laid-out text: its layers and the text box (top left, size) in output px.
Fields§
§layers: Vec<Layer>§origin: [f32; 2]§size: [f32; 2]§pad: f32Margin around the text box in every mask (blur, outline), px.
lines: Vec<f32>Top of each line in the text box, px, plus the box’s bottom.
glyphs: Vec<Glyph>Clusters in reading order.
Trait Implementations§
impl StructuralPartialEq for Rendered
Auto Trait Implementations§
impl Forget for Rendered
impl Freeze for Rendered
impl RefUnwindSafe for Rendered
impl Send for Rendered
impl Sync for Rendered
impl Unpin for Rendered
impl UnsafeUnpin for Rendered
impl UnwindSafe for Rendered
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