#[repr(transparent)]pub struct GlyphInfo { /* private fields */ }
Expand description
A GlyphInfo
structure represents a single glyph with
positioning information and visual attributes.
Implementations§
source§impl GlyphInfo
impl GlyphInfo
pub fn glyph(&self) -> u32
pub fn set_glyph(&mut self, glyph: u32)
pub fn geometry(&self) -> &GlyphGeometry
pub fn geometry_mut(&mut self) -> &mut GlyphGeometry
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for GlyphInfo
impl Send for GlyphInfo
impl Sync for GlyphInfo
impl Unpin for GlyphInfo
impl UnwindSafe for GlyphInfo
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