struct Placing<'a> {
text: &'a str,
scale: f32,
ascent: f32,
pen: f32,
placed: Vec<Glyph>,
cluster: Option<usize>,
glyphs_in_cluster: usize,
}Expand description
The pen walking a shaped run, and the cluster it is in the middle of.
Fields§
§text: &'a str§scale: f32§ascent: f32§pen: f32§placed: Vec<Glyph>§cluster: Option<usize>Where in text the cluster being placed begins.
glyphs_in_cluster: usizeImplementations§
Auto Trait Implementations§
impl<'a> Freeze for Placing<'a>
impl<'a> RefUnwindSafe for Placing<'a>
impl<'a> Send for Placing<'a>
impl<'a> Sync for Placing<'a>
impl<'a> Unpin for Placing<'a>
impl<'a> UnsafeUnpin for Placing<'a>
impl<'a> UnwindSafe for Placing<'a>
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