Skip to main content

display_text

Function display_text 

Source
pub fn display_text(text: &str, placeholder: &str, is_password: bool) -> String
Expand description

Build the display text for rendering. Returns the string that should be measured/drawn.