pub struct MoveCursorDown(pub u16);
Expand description
Moves the cursor down by the given number of rows.
§Examples
use std::io::{stdout, Write};
use anes::MoveCursorDown;
let mut stdout = stdout();
// Move cursor down by 5 rows
write!(stdout, "{}", MoveCursorDown(5));
Tuple Fields§
§0: u16
Trait Implementations§
Source§impl Clone for MoveCursorDown
impl Clone for MoveCursorDown
Source§fn clone(&self) -> MoveCursorDown
fn clone(&self) -> MoveCursorDown
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MoveCursorDown
impl Debug for MoveCursorDown
Source§impl Display for MoveCursorDown
impl Display for MoveCursorDown
Source§impl Hash for MoveCursorDown
impl Hash for MoveCursorDown
Source§impl PartialEq for MoveCursorDown
impl PartialEq for MoveCursorDown
impl Copy for MoveCursorDown
impl Eq for MoveCursorDown
impl StructuralPartialEq for MoveCursorDown
Auto Trait Implementations§
impl Freeze for MoveCursorDown
impl RefUnwindSafe for MoveCursorDown
impl Send for MoveCursorDown
impl Sync for MoveCursorDown
impl Unpin for MoveCursorDown
impl UnwindSafe for MoveCursorDown
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