PretextShapedRun
struct · ferroui-pretext-contracts · v0.5.0
struct PretextShapedRun
Immutable positioned glyphs and the font runs that produced them.
Members
new
fn new(kind: PretextGlyphRunKind, glyphs: Vec<PretextShapedGlyph>, font_runs: Vec<PretextShapedFontRun>, advance_x: f64, advance_y: f64) -> Self
kind
fn kind(self: &Self) -> PretextGlyphRunKind
glyphs
fn glyphs(self: &Self) -> &[PretextShapedGlyph]
font_runs
fn font_runs(self: &Self) -> &[PretextShapedFontRun]
advance_x
fn advance_x(self: &Self) -> f64
advance_y
fn advance_y(self: &Self) -> f64
has_missing_glyphs
fn has_missing_glyphs(self: &Self) -> bool
is_shaped
fn is_shaped(self: &Self) -> bool
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.