pub struct SoftwareGlyphAtlasMask {
pub alpha: Arc<[f32]>,
pub width: usize,
pub height: usize,
}Expand description
The coverage mask of one rasterized glyph.
Fields§
§alpha: Arc<[f32]>Coverage from 0.0 to 1.0 row by row, width times height values.
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