pub struct ScaleRun {
pub start_col: u32,
pub cols: u32,
pub scale: u16,
}Expand description
F.3 (Thread F): one contiguous run of display columns rendered
at a single font scale, produced by coalesce_scales. The
renderer shapes each run at font_size × scale/100.
Fields§
§start_col: u32First display column of the run (0-based, into the row’s cells).
cols: u32Number of display columns the run spans.
scale: u16Font scale in hundredths (100 = 1.0×).
Trait Implementations§
impl Copy for ScaleRun
impl Eq for ScaleRun
impl StructuralPartialEq for ScaleRun
Auto Trait Implementations§
impl Freeze for ScaleRun
impl RefUnwindSafe for ScaleRun
impl Send for ScaleRun
impl Sync for ScaleRun
impl Unpin for ScaleRun
impl UnsafeUnpin for ScaleRun
impl UnwindSafe for ScaleRun
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