Skip to main content

heading_level

Function heading_level 

Source
pub fn heading_level(text_style: u8) -> Option<u8>
Expand description

The heading level a TEXT_STYLE typography implies, or None for the non-heading styles (Subheadline, Body, Callout, Footnote, Caption, Caption2).