[][src]Function ringui::utils::shorten

pub fn shorten<'t>(text: &'t str, font: &Ttf, width: f32) -> &'t str