pub trait PangoCairoFontExt: IsA<Font> + 'static {
// Provided method
fn scaled_font(&self) -> Option<ScaledFont> { ... }
}
Provided Methods§
Sourcefn scaled_font(&self) -> Option<ScaledFont>
fn scaled_font(&self) -> Option<ScaledFont>
Gets the cairo::ScaledFont
used by @self.
The scaled font can be referenced and kept using
cairo_scaled_font_reference().
§Returns
the cairo::ScaledFont
used by @self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.