pub struct CachedGlyph {
pub segments: Arc<Vec<PathSegment>>,
pub width_x: f64,
pub width_y: f64,
}Expand description
Cached glyph outline + width in charstring coordinates.
Fields§
§segments: Arc<Vec<PathSegment>>§width_x: f64§width_y: f64Trait Implementations§
Source§impl Clone for CachedGlyph
impl Clone for CachedGlyph
Source§fn clone(&self) -> CachedGlyph
fn clone(&self) -> CachedGlyph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CachedGlyph
impl RefUnwindSafe for CachedGlyph
impl Send for CachedGlyph
impl Sync for CachedGlyph
impl Unpin for CachedGlyph
impl UnsafeUnpin for CachedGlyph
impl UnwindSafe for CachedGlyph
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