pub trait ToPdfFontToken {
// Required method
fn token(&self) -> PdfFontToken;
}Expand description
Allows font-handling functions to take either a PdfFont owned instance, a PdfFont reference, or a PdfFontToken.
Required Methods§
fn token(&self) -> PdfFontToken
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".