Struct termion::cursor::Goto
[−]
[src]
Goto some position ((1,1)-based).
Why one-based?
ANSI escapes are very poorly designed, and one of the many odd aspects is being one-based. This can be quite strange at first, but it is not that big of an obstruction once you get used to it.
Example
extern crate termion; fn main() { print!("{}{}Stuff", termion::clear::All, termion::cursor::Goto(5, 3)); }
Trait Implementations
impl Copy for Goto
[src]
impl Copy for Goto
impl Clone for Goto
[src]
impl Clone for Goto
fn clone(&self) -> Goto
[src]
fn clone(&self) -> Goto
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Goto
[src]
impl PartialEq for Goto
fn eq(&self, __arg_0: &Goto) -> bool
[src]
fn eq(&self, __arg_0: &Goto) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Goto) -> bool
[src]
fn ne(&self, __arg_0: &Goto) -> bool
This method tests for !=
.
impl Eq for Goto
[src]
impl Eq for Goto
impl Default for Goto
[src]
impl Default for Goto
impl Display for Goto
[src]
impl Display for Goto