Trait printpdf::FontDataClone
source · pub trait FontDataClone {
// Required method
fn clone_font_data(&self) -> Box<dyn FontData>;
}
Expand description
Helper trait for cloning boxed FontData
implementors.
Required Methods§
sourcefn clone_font_data(&self) -> Box<dyn FontData>
fn clone_font_data(&self) -> Box<dyn FontData>
Clones this font data and returns a box with the cloned data.