pub struct TextLine {
pub x: f64,
pub y: f64,
pub glyphs: Vec<PositionedGlyph>,
pub width: f64,
pub height: f64,
pub word_spacing: f64,
}Fields§
§x: f64§y: f64§glyphs: Vec<PositionedGlyph>§width: f64§height: f64§word_spacing: f64Extra width added to each space character for justification (PDF Tw operator).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextLine
impl RefUnwindSafe for TextLine
impl Send for TextLine
impl Sync for TextLine
impl Unpin for TextLine
impl UnsafeUnpin for TextLine
impl UnwindSafe for TextLine
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