Enum cosmic_text::SwashContent
source · pub enum SwashContent {
Mask,
SubpixelMask,
Color,
}
Expand description
Content of a scaled glyph image.
Variants
Mask
8-bit alpha mask.
SubpixelMask
32-bit RGBA subpixel mask.
Color
32-bit RGBA bitmap.
Trait Implementations
impl Copy for Content
impl Eq for Content
impl StructuralEq for Content
impl StructuralPartialEq for Content
Auto Trait Implementations
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnwindSafe for Content
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more