Skip to main content

IImmutableGlyphRunReference

Trait IImmutableGlyphRunReference 

Source
pub trait IImmutableGlyphRunReference {
    // Required methods
    fn glyph_run(&self) -> Option<Arc<dyn IGlyphRunImpl>>;
    fn dispose(&self);
}
Expand description

An immutable reference to the platform resources of a glyph run, usable after the glyph run itself changed or was disposed.

Required Methods§

Source

fn glyph_run(&self) -> Option<Arc<dyn IGlyphRunImpl>>

The referenced platform glyph run, until disposed.

Source

fn dispose(&self)

Releases the reference (C# IDisposable.Dispose).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§