Struct curse::Term [−][src]
pub struct Term(_);
Methods
impl Term
[src]
impl Term
pub fn init() -> Result<Self, Failure>
[src]
pub fn init() -> Result<Self, Failure>
pub fn width(&self) -> usize
[src]
pub fn width(&self) -> usize
pub fn height(&self) -> usize
[src]
pub fn height(&self) -> usize
pub fn clear(&mut self)
[src]
pub fn clear(&mut self)
pub fn freshen(&mut self)
[src]
pub fn freshen(&mut self)
pub fn print_char(
&mut self,
x_pos: usize,
y_pos: usize,
face: Face,
fg: Color,
bg: Color,
x: char
)
[src]
pub fn print_char(
&mut self,
x_pos: usize,
y_pos: usize,
face: Face,
fg: Color,
bg: Color,
x: char
)
pub fn next_event(&mut self, timeout: Option<u32>) -> Result<Option<Event>, ()>
[src]
pub fn next_event(&mut self, timeout: Option<u32>) -> Result<Option<Event>, ()>
pub fn set_cursor(&mut self, x: usize, y: usize)
[src]
pub fn set_cursor(&mut self, x: usize, y: usize)
Trait Implementations
impl Debug for Term
[src]
impl Debug for Term
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Drop for Term
[src]
impl Drop for Term