Closed
Description
Hey 👋
I'm having some trouble using the GlyphItemIter
interface. I can't figure out how to instantiate it.
The Pango interface suggests passing an uninitialized variable to pango_glyph_item_iter_init_start
, but I'm not sure how to achieve this in Rust.
I tried making a fix by adding the following method to the GlyphItemIter
impl block:
pub fn new_start() -> GlyphItemIter {
unsafe { GlyphItemIter(Boxed::uninitialized()) }
}
but I get a panick with the message not yet implemented
at runtime.
Any ideas what I might be missing?