pub struct FontRun {
pub start: usize,
pub end: usize,
pub family: String,
}Expand description
A contiguous run of characters that all resolve to the same font.
Fields§
§start: usizeStart index in the original char array (inclusive).
end: usizeEnd index in the original char array (exclusive).
family: StringThe resolved single font family name (e.g. “Inter”, not “Inter, Noto”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FontRun
impl RefUnwindSafe for FontRun
impl Send for FontRun
impl Sync for FontRun
impl Unpin for FontRun
impl UnsafeUnpin for FontRun
impl UnwindSafe for FontRun
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