Skip to main content

draw_text

Function draw_text 

Source
fn draw_text<T>(
    target: &mut T,
    text: &str,
    x: i32,
    y: i32,
    style: &MonoTextStyle<'_, Rgb565>,
)
where T: DrawTarget<Color = Rgb565>,