Skip to main content

accent_display_role

Function accent_display_role 

Source
pub fn accent_display_role(target: RoleTarget, current: Option<u8>) -> Role
Expand description

The Role the accent swatch displays for target given its current accent index current: the mapped accent role, or — when unset — the target’s own un-accented stroke.