pub trait FontDataClone {
    // Required method
    fn clone_font_data(&self) -> Box<dyn FontData>;
}
Expand description

Helper trait for cloning boxed FontData implementors.

Required Methods§

source

fn clone_font_data(&self) -> Box<dyn FontData>

Clones this font data and returns a box with the cloned data.

Implementors§

source§

impl<T: FontData + Clone + 'static> FontDataClone for T