Trait sourceview5::prelude::FontExt
source · pub trait FontExt: IsA<Font> + Sealed + 'static {
// Provided methods
fn describe(&self) -> FontDescription { ... }
fn describe_with_absolute_size(&self) -> FontDescription { ... }
fn coverage(&self, language: &Language) -> Coverage { ... }
fn face(&self) -> FontFace { ... }
fn font_map(&self) -> Option<FontMap> { ... }
fn glyph_extents(&self, glyph: u32) -> (Rectangle, Rectangle) { ... }
fn metrics(&self, language: Option<&Language>) -> FontMetrics { ... }
fn has_char(&self, wc: char) -> bool { ... }
fn serialize(&self) -> Bytes { ... }
}
Provided Methods§
fn describe(&self) -> FontDescription
fn describe_with_absolute_size(&self) -> FontDescription
fn coverage(&self, language: &Language) -> Coverage
fn face(&self) -> FontFace
fn font_map(&self) -> Option<FontMap>
fn glyph_extents(&self, glyph: u32) -> (Rectangle, Rectangle)
fn metrics(&self, language: Option<&Language>) -> FontMetrics
fn has_char(&self, wc: char) -> bool
fn serialize(&self) -> Bytes
Object Safety§
This trait is not object safe.