pub struct ScrollBufferDown(pub u16);
Expand description
Scrolls down by the given number of rows.
§Examples
use std::io::{stdout, Write};
use anes::ScrollBufferDown;
let mut stdout = stdout();
// Scroll down by 10 lines
write!(stdout, "{}", ScrollBufferDown(10));
Tuple Fields§
§0: u16
Trait Implementations§
Source§impl Clone for ScrollBufferDown
impl Clone for ScrollBufferDown
Source§fn clone(&self) -> ScrollBufferDown
fn clone(&self) -> ScrollBufferDown
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 ScrollBufferDown
impl Debug for ScrollBufferDown
Source§impl Display for ScrollBufferDown
impl Display for ScrollBufferDown
Source§impl Hash for ScrollBufferDown
impl Hash for ScrollBufferDown
Source§impl PartialEq for ScrollBufferDown
impl PartialEq for ScrollBufferDown
impl Copy for ScrollBufferDown
impl Eq for ScrollBufferDown
impl StructuralPartialEq for ScrollBufferDown
Auto Trait Implementations§
impl Freeze for ScrollBufferDown
impl RefUnwindSafe for ScrollBufferDown
impl Send for ScrollBufferDown
impl Sync for ScrollBufferDown
impl Unpin for ScrollBufferDown
impl UnwindSafe for ScrollBufferDown
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 2 bytes