pub struct GlyphShape {
pub contours: Vec<Vec<Seg>>,
pub bbox: Option<[f64; 4]>,
pub area: f64,
}Expand description
what a scene knows of a glyph: its contours (em), the box of its control hulls, the area it fills
Fields§
§contours: Vec<Vec<Seg>>§bbox: Option<[f64; 4]>§area: f64Trait Implementations§
Source§impl Clone for GlyphShape
impl Clone for GlyphShape
Auto Trait Implementations§
impl Forget for GlyphShape
impl Freeze for GlyphShape
impl Move for GlyphShape
impl RefUnwindSafe for GlyphShape
impl Send for GlyphShapewhere
RawVecInner: Send,
impl Sync for GlyphShapewhere
RawVecInner: Sync,
impl Unpin for GlyphShape
impl UnsafeUnpin for GlyphShape
impl UnwindSafe for GlyphShapewhere
RawVecInner: UnwindSafe,
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