pub(crate) struct GlyphOutline {
pub(crate) path: Arc<BezPath>,
pub(crate) bbox: Rect,
pub(crate) scale: f64,
}Expand description
A glyph defined by a path (its outline) and a local transform.
Fields§
§path: Arc<BezPath>The path of the glyph (shared with the outline cache via Arc).
bbox: RectPrecise bounding box of the path at the cached outline size.
scale: f64Scale from the cached outline size to the requested draw size.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GlyphOutline
impl RefUnwindSafe for GlyphOutline
impl Send for GlyphOutline
impl Sync for GlyphOutline
impl Unpin for GlyphOutline
impl UnsafeUnpin for GlyphOutline
impl UnwindSafe for GlyphOutline
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