Struct ilmenite::bitmap::ImtGlyphBitmap
source · [−]pub struct ImtGlyphBitmap { /* private fields */ }
Expand description
Data is Linear RGBA
Implementations
sourceimpl ImtGlyphBitmap
impl ImtGlyphBitmap
pub fn new(
parser: &ImtParser,
parsed: Arc<ImtParsedGlyph>,
text_height: f32,
raster_opts: &ImtRasterOpts
) -> ImtGlyphBitmap
pub fn data(&self) -> Option<ImtBitmapData>
pub fn metrics(&self) -> ImtBitmapMetrics
Trait Implementations
sourceimpl Clone for ImtGlyphBitmap
impl Clone for ImtGlyphBitmap
sourcefn clone(&self) -> ImtGlyphBitmap
fn clone(&self) -> ImtGlyphBitmap
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl !RefUnwindSafe for ImtGlyphBitmap
impl Send for ImtGlyphBitmap
impl Sync for ImtGlyphBitmap
impl Unpin for ImtGlyphBitmap
impl !UnwindSafe for ImtGlyphBitmap
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