pub struct TemplateFonts {
pub title: FontSpec,
pub month: FontSpec,
pub date: FontSpec,
pub header: FontSpec,
pub time: FontSpec,
}Expand description
The set of fonts used across the report’s distinct elements.
Fields§
§title: FontSpecFont for the report title cell.
month: FontSpecFont for the month name cell.
date: FontSpecFont for the date cell.
header: FontSpecFont for table header cells.
time: FontSpecFont for the start/end time cells and totals.
Trait Implementations§
Source§impl Clone for TemplateFonts
impl Clone for TemplateFonts
Source§fn clone(&self) -> TemplateFonts
fn clone(&self) -> TemplateFonts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TemplateFonts
impl Debug for TemplateFonts
Source§impl<'de> Deserialize<'de> for TemplateFonts
impl<'de> Deserialize<'de> for TemplateFonts
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TemplateFonts
impl RefUnwindSafe for TemplateFonts
impl Send for TemplateFonts
impl Sync for TemplateFonts
impl Unpin for TemplateFonts
impl UnsafeUnpin for TemplateFonts
impl UnwindSafe for TemplateFonts
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more