Skip to main content

attributed_string

Function attributed_string 

Source
pub fn attributed_string(text: &str, style: &TextStyle) -> NSAttributedString
Expand description

Generates a new NSAttributedString for the given text with the given text style.