Trait FontsetExt

Source
pub trait FontsetExt: 'static {
    // Required methods
    fn foreach<P: FnMut(&Fontset, &Font) -> bool>(&self, func: P);
    fn get_font(&self, wc: u32) -> Option<Font>;
    fn get_metrics(&self) -> Option<FontMetrics>;
}

Required Methods§

Source

fn foreach<P: FnMut(&Fontset, &Font) -> bool>(&self, func: P)

Source

fn get_font(&self, wc: u32) -> Option<Font>

Source

fn get_metrics(&self) -> Option<FontMetrics>

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.

Implementors§