Struct rckive_genpdf::fonts::FontFamily
source · pub struct FontFamily<T: Clone + Debug> {
pub regular: T,
pub bold: T,
pub italic: T,
pub bold_italic: T,
}
Expand description
A collection of fonts with different styles.
See the module documentation for details on the internals.
Fields§
§regular: T
The regular variant of this font family.
bold: T
The bold variant of this font family.
italic: T
The italic variant of this font family.
bold_italic: T
The bold italic variant of this font family.
Implementations§
Trait Implementations§
source§impl<T: Clone + Clone + Debug> Clone for FontFamily<T>
impl<T: Clone + Clone + Debug> Clone for FontFamily<T>
source§fn clone(&self) -> FontFamily<T>
fn clone(&self) -> FontFamily<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more