pub struct Relative(pub i32, pub i32);
Expand description
A type that when Display
ed, moves the cursor by the specified amounts.
This moves the cursor to the specified coordinates, relative to it’s previous position.
Tuple Fields§
§0: i32
§1: i32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Relative
impl RefUnwindSafe for Relative
impl Send for Relative
impl Sync for Relative
impl Unpin for Relative
impl UnwindSafe for Relative
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more