use font::Font;
use {Result, Text};
pub struct Layout {
#[allow(dead_code)]
font: Font,
}
impl Layout {
pub fn new(font: Font) -> Self {
Layout { font: font }
}
pub fn draw<T: Into<String>>(&mut self, content: T) -> Result<Text> {
Ok(Text::new(content))
}
}