Struct term_cursor::Relative
[−]
[src]
pub struct Relative(pub i32, pub i32);
A type that, when Display
ed, makes the cursor move by the specified amount.
This is identical to a Goto(get_cursor_pos() + (x, y))
(pseudocode).
The Relative
tuple type takes (x, y) coordinates, where X and Y correspond to columns and rows respectively.
Trait Implementations
impl Clone for Relative
[src]
fn clone(&self) -> Relative
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more