pub struct RasterizedGlyph {
pub pixels: Vec<u8>,
pub width: u32,
pub height: u32,
}Expand description
Platform-agnostic rasterized glyph data for texture upload.
Fields§
§pixels: Vec<u8>§width: u32§height: u32Implementations§
Trait Implementations§
Source§impl Clone for RasterizedGlyph
impl Clone for RasterizedGlyph
Source§fn clone(&self) -> RasterizedGlyph
fn clone(&self) -> RasterizedGlyph
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RasterizedGlyph
impl RefUnwindSafe for RasterizedGlyph
impl Send for RasterizedGlyph
impl Sync for RasterizedGlyph
impl Unpin for RasterizedGlyph
impl UnsafeUnpin for RasterizedGlyph
impl UnwindSafe for RasterizedGlyph
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