crayon 0.7.1

A small, portable and extensible game framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod types;
mod visitor;

use super::super::WindowParams;
use super::Visitor;

use crate::errors::*;

pub fn new(params: WindowParams) -> Result<Box<Visitor>> {
    let visitor = self::visitor::GlutinVisitor::from(params)?;
    Ok(Box::new(visitor))
}