pub fn init(_gfx: &'gfx Gfx, screen: Screen) -> Self {
        let mut context = Box::new(PrintConsole::default());

        unsafe { consoleInit(screen.into(), context.as_mut()) };

        Console {
            context,
            _gfx: PhantomData,
        }
    }
/// Initialize a console on the chosen screen, overwriting whatever was on the screen
/// previously (including other consoles). The new console is automatically selected for
/// printing.
Initialize a console on the chosen screen, overwriting whatever was on the screen
previously (including other consoles). The new console is automatically selected for
printing.
Initialize a console on the chosen screen overwriting whatever was on the screen previously ( including other consoles ) . The new console is automatically selected for printing .
pub fn init(_gfx: &'gfx Gfx, screen: Screen) -> Self {
        let mut context = Box::new(PrintConsole::default());
        unsafe { consoleInit(screen.into(), context.as_mut()) };
        Console {
            context,
            _gfx: PhantomData,
        }
    }
pub fn init ( _gfx : & ' gfx Gfx , screen : Screen ) -> Self { let mut context = Box :: new ( PrintConsole :: default ( ) ) ; unsafe { consoleInit ( screen . into ( ) , context . as_mut ( ) ) } ; Console { context , _gfx : PhantomData , } }
Initialize a console on the chosen screen, overwriting whatever was on the screen
previously (including other consoles).
Initialize a console on the chosen screen overwriting whatever was on the screen previously ( including other consoles ) .
_gfx
&'gfx Gfx
screen
Screen
_gfx
&'gfx Gfx
screen
Screen