pub struct TextHintData {
pub center: Point,
pub rotation: Unit,
pub height: Unit,
pub text: String,
pub glyph_length: u64,
pub glyph_offset: Vec<(Unit, Unit)>,
}Fields§
§center: PointThe center of the descender line for the defined text.
rotation: UnitThe amount of degrees the text is rotated.
height: UnitThe font size or distance from the ascender line to the descender line for the text.
text: String§glyph_length: u64The number of glyphs within the text.
glyph_offset: Vec<(Unit, Unit)>The start and end offset on the descender line from the center for each glyph
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextHintData
impl RefUnwindSafe for TextHintData
impl Send for TextHintData
impl Sync for TextHintData
impl Unpin for TextHintData
impl UnwindSafe for TextHintData
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