pub struct PlatformShapedOutput {
pub logical_text: String,
pub direction: Direction,
pub font_size: f32,
pub glyphs: Vec<PlatformRunGlyph>,
pub fallback_faces: Vec<FallbackFace>,
pub route_kind: ShapingRouteKind,
}Expand description
Raw output produced by a native platform shaper or safe bridge.
Fields§
§logical_text: StringOriginal logical text shaped by the platform.
direction: DirectionDirection of the shaped text.
font_size: f32Font size in points.
glyphs: Vec<PlatformRunGlyph>Sequence of platform-positioned glyphs.
fallback_faces: Vec<FallbackFace>Fallback font faces utilized during shaping (empty if primary font sufficed).
route_kind: ShapingRouteKindRoute kind that generated this output.
Trait Implementations§
Source§impl Clone for PlatformShapedOutput
impl Clone for PlatformShapedOutput
Source§impl Debug for PlatformShapedOutput
impl Debug for PlatformShapedOutput
Source§impl PartialEq for PlatformShapedOutput
impl PartialEq for PlatformShapedOutput
impl StructuralPartialEq for PlatformShapedOutput
Auto Trait Implementations§
impl Freeze for PlatformShapedOutput
impl RefUnwindSafe for PlatformShapedOutput
impl Send for PlatformShapedOutput
impl Sync for PlatformShapedOutput
impl Unpin for PlatformShapedOutput
impl UnsafeUnpin for PlatformShapedOutput
impl UnwindSafe for PlatformShapedOutput
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