pub struct SoftwareGlyphAtlasMask {
pub alpha: Arc<[u8]>,
pub width: usize,
pub height: usize,
}Expand description
The coverage mask of one rasterized glyph.
Fields§
§alpha: Arc<[u8]>A coverage byte a pixel row by row, width times height values:
255 covers the pixel whole.
width: usizeMask width in pixels.
height: usizeMask height in pixels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SoftwareGlyphAtlasMask
impl RefUnwindSafe for SoftwareGlyphAtlasMask
impl Send for SoftwareGlyphAtlasMask
impl Sync for SoftwareGlyphAtlasMask
impl Unpin for SoftwareGlyphAtlasMask
impl UnsafeUnpin for SoftwareGlyphAtlasMask
impl UnwindSafe for SoftwareGlyphAtlasMask
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