Enum skrifa::color::PaintCachedColorGlyph
source · pub enum PaintCachedColorGlyph {
Ok,
Unimplemented,
}
Expand description
Signals success of request to draw a COLRv1 sub glyph from cache.
Result of paint_cached_color_glyph
through which the client signals whether a COLRv1 glyph referenced by
another COLRv1 glyph was drawn from cache or whether the glyph’s subgraph
should be traversed by the skria side COLRv1 implementation.
Variants§
Ok
The specified COLRv1 glyph has been successfully painted client side.
Unimplemented
The client does not implement drawing COLRv1 glyphs from cache and the Fontations side COLRv1 implementation is asked to traverse the respective PaintColorGlyph sub graph.
Auto Trait Implementations§
impl Freeze for PaintCachedColorGlyph
impl RefUnwindSafe for PaintCachedColorGlyph
impl Send for PaintCachedColorGlyph
impl Sync for PaintCachedColorGlyph
impl Unpin for PaintCachedColorGlyph
impl UnwindSafe for PaintCachedColorGlyph
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