pub enum GlyphInk {
Painted,
Hidden,
}Expand description
Whether a raster paints a text’s glyphs, or only the shadows under them.
Variants§
Painted
The glyphs, and the shadows of spans that cast one.
Hidden
Only the shadows, as the shadow a style casts under its text draws.
Trait Implementations§
impl Copy for GlyphInk
impl Eq for GlyphInk
impl StructuralPartialEq for GlyphInk
Auto Trait Implementations§
impl Forget for GlyphInk
impl Freeze for GlyphInk
impl Move for GlyphInk
impl RefUnwindSafe for GlyphInk
impl Send for GlyphInk
impl Sync for GlyphInk
impl Unpin for GlyphInk
impl UnsafeUnpin for GlyphInk
impl UnwindSafe for GlyphInk
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