Struct fretboard_layout::Font
source · [−]pub struct Font {
pub family: String,
pub weight: FontWeight,
}
Expand description
The font used to print the description in the output file
Fields
family: String
The family , eg Sans or ComicSans
weight: FontWeight
The weight or style of the given font
Implementations
Set the family of the font
Set the weight or style of the font
Trait Implementations
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 RefUnwindSafe for Font
impl UnwindSafe for Font
Blanket Implementations
Mutably borrows from an owned value. Read more