Awakening

Trait Awakening 

Source
pub trait Awakening {
    // Required method
    fn awakening(&mut self, x: i32, y: i32, text: &str) -> i32;
}
Expand description

Write on a surface using the Awakening typeface

Required Methods§

Source

fn awakening(&mut self, x: i32, y: i32, text: &str) -> i32

Write the text with the baseline starting at the given position. Returns the width of the text in pixels.

Implementors§

Source§

impl<S: Surface> Awakening for S