[][src]Struct crossterm::Crossterm

pub struct Crossterm;

A crossterm functionality wrapper.

Methods

impl Crossterm[src]

pub fn new() -> Crossterm[src]

Creates a new Crossterm.

pub fn cursor(&self) -> TerminalCursor[src]

Crates a new TerminalCursor.

pub fn input(&self) -> TerminalInput[src]

Creates a new TerminalInput.

pub fn terminal(&self) -> Terminal[src]

Creates a new Terminal.

pub fn color(&self) -> TerminalColor[src]

Creates a new TerminalColor.

pub fn style<D>(&self, val: D) -> StyledObject<D> where
    D: Display + Clone
[src]

Creates a new StyledObject.

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, 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]