pub enum BitmapGlyphColor {
Outline([u8; 4]),
Solid([u8; 4]),
SolidOutline([u8; 4], [u8; 4]),
}Expand description
Color selection modes for bitmap glyph rendering.
Variants§
Outline([u8; 4])
Render only the glyph outline color.
Solid([u8; 4])
Render only the glyph fill color.
SolidOutline([u8; 4], [u8; 4])
Render both glyph fill and outline colors.
Trait Implementations§
Source§impl Debug for BitmapGlyphColor
impl Debug for BitmapGlyphColor
Auto Trait Implementations§
impl Freeze for BitmapGlyphColor
impl RefUnwindSafe for BitmapGlyphColor
impl Send for BitmapGlyphColor
impl Sync for BitmapGlyphColor
impl Unpin for BitmapGlyphColor
impl UnsafeUnpin for BitmapGlyphColor
impl UnwindSafe for BitmapGlyphColor
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