#[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 as_ptr(&self) -> *mut PangoGlyphInfo
sourcepub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const PangoGlyphInfo) -> &'a Self
pub unsafe fn from_glib_ptr_borrow<'a>(ptr: *const PangoGlyphInfo) -> &'a Self
Borrows the underlying C value.
sourcepub unsafe fn from_glib_ptr_borrow_mut<'a>(
ptr: *mut PangoGlyphInfo
) -> &'a mut Self
pub unsafe fn from_glib_ptr_borrow_mut<'a>( ptr: *mut PangoGlyphInfo ) -> &'a mut Self
Borrows the underlying C value mutably.
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