Enum piet::FontStyle [−][src]
pub enum FontStyle {
Regular,
Italic,
}
Expand description
A font style, which may be italic or regular.
Variants
Prefer the regular style for the current font family, if available.
Prefer the italic style for the current font family, if available.
If italic is not available and oblique is, we will use that; if neither is available we will apply synthetic italics to the regular style.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FontStyle
impl UnwindSafe for FontStyle
Blanket Implementations
Mutably borrows from an owned value. Read more