pub struct TextRun {
pub text: String,
pub anchor: [f64; 3],
pub right: [f64; 3],
pub up: [f64; 3],
pub height: f64,
}Expand description
A run of text centred on anchor, read along right with up, at cap
height height.
Fields§
§text: String§anchor: [f64; 3]§right: [f64; 3]§up: [f64; 3]§height: f64Implementations§
Trait Implementations§
impl StructuralPartialEq for TextRun
Auto Trait Implementations§
impl Freeze for TextRun
impl RefUnwindSafe for TextRun
impl Send for TextRun
impl Sync for TextRun
impl Unpin for TextRun
impl UnsafeUnpin for TextRun
impl UnwindSafe for TextRun
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