Skip to main content

list_style_is_ordered

Function list_style_is_ordered 

Source
pub fn list_style_is_ordered(style: &ListStyle) -> bool
Expand description

Whether style numbers its items (decimal, alphabetic, roman) rather than marking them with a bullet (disc, circle, square).

The kind a toolbar’s two list buttons stand for. Exhaustive on purpose: a style added to the document model has to be given a kind here before anything compiles.