pub struct Coverage {
pub width: u32,
pub height: u32,
pub texels: Vec<u8>,
}Expand description
A rasterized glyph, as a caller supplies it.
Fields§
§width: u32§height: u32§texels: Vec<u8>One byte per texel, row-major from the top, tightly packed.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Coverage
Auto Trait Implementations§
impl Freeze for Coverage
impl RefUnwindSafe for Coverage
impl Send for Coverage
impl Sync for Coverage
impl Unpin for Coverage
impl UnsafeUnpin for Coverage
impl UnwindSafe for Coverage
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