pub struct FallbackResult {
pub runs: Vec<ZenithGlyphRun>,
pub missing_chars: Vec<char>,
}Expand description
Result of fallback shaping: the shaped runs plus any characters that NO registered face (primary or fallback) could supply a glyph for.
Fields§
§runs: Vec<ZenithGlyphRun>Shaped glyph runs, one per contiguous sub-run that resolved to a single face, in visual order.
missing_chars: Vec<char>Characters (deduped, sorted by codepoint) for which no registered face had a glyph. Excludes default-ignorable code points (joiners, variation selectors, control characters, whitespace, etc.).
Auto Trait Implementations§
impl Freeze for FallbackResult
impl RefUnwindSafe for FallbackResult
impl Send for FallbackResult
impl Sync for FallbackResult
impl Unpin for FallbackResult
impl UnsafeUnpin for FallbackResult
impl UnwindSafe for FallbackResult
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