Trait sourceview5::prelude::FontMapExt
source · pub trait FontMapExt: IsA<FontMap> + Sealed + 'static {
// Provided methods
fn changed(&self) { ... }
fn create_context(&self) -> Context { ... }
fn family(&self, name: &str) -> FontFamily { ... }
fn serial(&self) -> u32 { ... }
fn list_families(&self) -> Vec<FontFamily> { ... }
fn load_font(
&self,
context: &Context,
desc: &FontDescription,
) -> Option<Font> { ... }
fn load_fontset(
&self,
context: &Context,
desc: &FontDescription,
language: &Language,
) -> Option<Fontset> { ... }
}
Provided Methods§
fn changed(&self)
fn create_context(&self) -> Context
fn family(&self, name: &str) -> FontFamily
fn serial(&self) -> u32
fn list_families(&self) -> Vec<FontFamily>
fn load_font(&self, context: &Context, desc: &FontDescription) -> Option<Font>
fn load_fontset( &self, context: &Context, desc: &FontDescription, language: &Language, ) -> Option<Fontset>
Object Safety§
This trait is not object safe.