pub struct GlyphInfo { /* private fields */ }
Expand description
A GlyphInfo
structure represents a single glyph with
positioning information and visual attributes.
GLib type: Inline allocated boxed type with stack copy semantics.
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 Freeze for GlyphInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)