[−][src]Struct tuikit::term::TermCanvas
Trait Implementations
impl<'a> Canvas for TermCanvas<'a>
[src]
fn size(&self) -> Result<(usize, usize)>
[src]
fn clear(&mut self) -> Result<()>
[src]
fn put_cell(&mut self, row: usize, col: usize, cell: Cell) -> Result<usize>
[src]
fn print_with_attr(
&mut self,
row: usize,
col: usize,
content: &str,
attr: Attr
) -> Result<usize>
[src]
&mut self,
row: usize,
col: usize,
content: &str,
attr: Attr
) -> Result<usize>
fn set_cursor(&mut self, row: usize, col: usize) -> Result<()>
[src]
fn show_cursor(&mut self, show: bool) -> Result<()>
[src]
fn put_char_with_attr(
&mut self,
row: usize,
col: usize,
ch: char,
attr: Attr
) -> Result<usize>
[src]
&mut self,
row: usize,
col: usize,
ch: char,
attr: Attr
) -> Result<usize>
just like put_cell, except it accept (char & attr) return the width of the character/cell Read more
fn print(&mut self, row: usize, col: usize, content: &str) -> Result<usize>
[src]
print content
starting with position (row, col)
with default attribute
Auto Trait Implementations
impl<'a> Send for TermCanvas<'a>
impl<'a> Sync for TermCanvas<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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,