pub struct PlainTextLayoutOutput {
pub local: TextContourOutput,
pub baseline: [f64; 2],
pub x_axis: [f64; 2],
pub y_axis: [f64; 2],
pub em_compensation: f64,
}Expand description
Plain baseline-local ink and source-owned placement for compact consumers. Contours are a transient metric bridge; callers need not normalize or emit them. Markup, tabs, multiple lines and synthetic faces use the block API.
Fields§
§local: TextContourOutput§baseline: [f64; 2]§x_axis: [f64; 2]Source Y-down linear basis, before glyph em compensation.
y_axis: [f64; 2]§em_compensation: f64Auto Trait Implementations§
impl Freeze for PlainTextLayoutOutput
impl RefUnwindSafe for PlainTextLayoutOutput
impl Send for PlainTextLayoutOutput
impl Sync for PlainTextLayoutOutput
impl Unpin for PlainTextLayoutOutput
impl UnsafeUnpin for PlainTextLayoutOutput
impl UnwindSafe for PlainTextLayoutOutput
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