[−][src]Struct termbox_simple::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
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,