pub struct RasterizedGlyph { /* private fields */ }Expand description
Rasterized alpha-coverage glyph bitmap ready for software blitting or GPU atlas upload.
Implementations§
Source§impl RasterizedGlyph
impl RasterizedGlyph
pub fn get_width(&self) -> u32
pub fn get_height(&self) -> u32
pub fn get_advance(&self) -> u32
pub fn get_coverage(&self) -> &Vec<u8> ⓘ
Trait Implementations§
Source§impl Clone for RasterizedGlyph
impl Clone for RasterizedGlyph
Source§impl Debug for RasterizedGlyph
impl Debug for RasterizedGlyph
Source§impl Default for RasterizedGlyph
impl Default for RasterizedGlyph
impl Eq for RasterizedGlyph
Source§impl PartialEq for RasterizedGlyph
impl PartialEq for RasterizedGlyph
impl StructuralPartialEq for RasterizedGlyph
Auto Trait Implementations§
impl Forget for RasterizedGlyph
impl Freeze for RasterizedGlyph
impl Move for RasterizedGlyph
impl RefUnwindSafe for RasterizedGlyph
impl Send for RasterizedGlyphwhere
RawVecInner: Send,
impl Sync for RasterizedGlyphwhere
RawVecInner: Sync,
impl Unpin for RasterizedGlyph
impl UnsafeUnpin for RasterizedGlyph
impl UnwindSafe for RasterizedGlyphwhere
RawVecInner: UnwindSafe,
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