is_italic
Whether a style name is italic or oblique, as design tools and font files write it
("Italic", "Semi Bold Italic", "Light Oblique"). Case is ignored.
Import
Section titled “Import”Cargo feature font (enabled by default). To compile only this module:
or in Cargo.toml:
Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
style | &str | The style name. |
Returns
Section titled “Returns”bool — true if the name holds italic or oblique.
