[][src]Struct termbox_simple::Termbox

pub struct Termbox {}

Methods

impl Termbox[src]

pub fn init() -> Result<Termbox, InitError>[src]

pub fn resize(&mut self)[src]

pub fn width(&self) -> i32[src]

pub fn height(&self) -> i32[src]

pub fn clear(&mut self)[src]

pub fn set_clear_attributes(&mut self, fg: u16, bg: u16)[src]

pub fn present(&mut self)[src]

pub fn hide_cursor(&mut self)[src]

pub fn set_cursor(&mut self, cx: i32, cy: i32)[src]

pub fn put_cell(&mut self, x: i32, y: i32, cell: Cell)[src]

pub fn change_cell(&mut self, x: i32, y: i32, ch: char, fg: u16, bg: u16)[src]

pub fn get_output_mode(&self) -> OutputMode[src]

pub fn set_output_mode(&mut self, mode: OutputMode)[src]

Trait Implementations

impl Drop for Termbox[src]

Auto Trait Implementations

impl Sync for Termbox

impl Send for Termbox

impl Unpin for Termbox

impl RefUnwindSafe for Termbox

impl UnwindSafe for Termbox

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]