[][src]Struct anes::MoveCursorToColumn

pub struct MoveCursorToColumn(pub u16);

Moves the cursor to the given column.

Notes

Beginning of the line (left cell) is represented as 1.

Examples

use std::io::{stdout, Write};
use anes::MoveCursorToColumn;

let mut stdout = stdout();
// Move cursor to the 10th column (same row)
write!(stdout, "{}", MoveCursorToColumn(10));

Trait Implementations

impl Clone for MoveCursorToColumn[src]

impl Copy for MoveCursorToColumn[src]

impl Eq for MoveCursorToColumn[src]

impl PartialEq<MoveCursorToColumn> for MoveCursorToColumn[src]

impl Display for MoveCursorToColumn[src]

impl Debug for MoveCursorToColumn[src]

impl Hash for MoveCursorToColumn[src]

impl StructuralPartialEq for MoveCursorToColumn[src]

impl StructuralEq for MoveCursorToColumn[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]