Struct rustbox::RustBox [] [src]

pub struct RustBox { /* fields omitted */ }

Methods

impl RustBox
[src]

Initialize rustbox.

For the default options, you can use:

use rustbox::RustBox;
use std::default::Default;
let rb = RustBox::init(Default::default());

Otherwise, you can specify:

use rustbox::{RustBox, InitOptions};
use std::default::Default;
let rb = RustBox::init(InitOptions { input_mode: rustbox::InputMode::Esc, ..Default::default() });

Trait Implementations

impl Drop for RustBox
[src]

A method called when the value goes out of scope. Read more